Skip to content

Uniqueness constraints on vertical fact types are horizontal #10

@hidders

Description

@hidders

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions