Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uniqueness constraints on vertical fact types are horizontal #10

Open
hidders opened this issue Mar 20, 2024 · 0 comments
Open

Uniqueness constraints on vertical fact types are horizontal #10

hidders opened this issue Mar 20, 2024 · 0 comments

Comments

@hidders
Copy link

hidders commented Mar 20, 2024

The uniqueness constraints on vertical fact types seem to be drawn horizontally. For example, the following code:

\documentclass{standalone} 

\usepackage{tikz}
\usetikzlibrary{positioning} % ...positioning nodes
\usepackage{tkz-orm}  % the ORM2 package


\begin{document}
\begin{tikzpicture}
  \entity (A) at (0, 0) {A};
  \node (R) [vroles=2, unique=1-2, below=1cm of A, label=above:{R}] {};
  \plays (A) -- (R.two east);
  \entity (B) [below=1 cm of R] {B};
  \plays (B) -- (R.one west);
\end{tikzpicture}
\end{document}

Gives:

Untitled

Also the positioning of the vertical fact types seems a bit odd here, but that is another issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant