Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

association: bad alignment of labels for vertical line #12

@skobls

Description

@skobls

Bug

if there are to classes, on below the other, and they are connected with an association, then the labels of the association are placed directly on the line

Desired behavior

the labels should appear at sides of the line and should not cross it.

Code that demonstrates the bug

\begin{tikzpicture}
\begin{class}{ComputedPath}{0,0}
\attribute{path : Path}
\attribute{price : Double}
\end{class}
\begin{class}{RemoteStorage}{0,-3}
\end{class}
\association{ComputedPath}{foo}{1}%
{RemoteStorage}{bar}{1}
\end{tikzpicture}

P.S.: thanks for developing the package!

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