You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The labels are now placed correctly, though Graphviz chooses other routes for the edges:
So I believe XLabel should be used instead of Label, at least for orthogonal edges. I'm not a Graphviz guru and don't know what are the implications of using xlabels, and whether this needs some extra tweaking. Any suggestions?
The text was updated successfully, but these errors were encountered:
kukimik
changed the title
Labels of ortho edges are messed up
Labels of ortho edges are misplaced
Mar 19, 2021
kukimik
added a commit
to kukimik/erd
that referenced
this issue
May 18, 2021
When the edge type is set to
ortho
, the labels are misplaced. See the label "home" and "away" in the example below.This is really a Graphviz issue:
Following their suggestion, I tried to use
A.XLabel
instead ofA.Label
in this line:erd/app/Main.hs
Line 62 in 06c7264
The labels are now placed correctly, though Graphviz chooses other routes for the edges:
So I believe
XLabel
should be used instead ofLabel
, at least for orthogonal edges. I'm not a Graphviz guru and don't know what are the implications of using xlabels, and whether this needs some extra tweaking. Any suggestions?The text was updated successfully, but these errors were encountered: