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?
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: https://github.com/BurntSushi/erd/blob/06c72643682a42a890a2ffadac82cfc1dafd5edd/app/Main.hs#L62The 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?