|Anonymous | Login||2017-11-20 13:46 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001333||graphviz||Dot||public||2008-05-27 06:49||2011-04-28 04:03|
|Platform||OS||x86-Windows-Win XP||OS Version|
|Summary||0001333: source / destination of edges are ambigous|
I am trying to make diagrams for a large database shema.
But even if having few tables the edges are ambiguous.
Please find attached one sample script, and another screenshot
(without the source)
|Steps To Reproduce|
A [label =" TABLE_A | 00 | <bb> bb |<cc> cc | xxxxxxxxx"];
B [label =" TABLE_B | 00 | <bb> bb | xxxxxxxxxxx| xxxxxxxxxxx| xxxxxxxxxxx| xxxxxxxxxxx| xxxxxxxxxxx| xxxxxxxxxxx| xxxxxxxxxxx| xxxxxxxxxxx"];
C [label =" TABLE_C | 00 | <cc> cc | xxxxxxxxx| xxxxxxxxx| xxxxxxxxx| xxxxxxxxx| xxxxxxxxx| xxxxxxxxx| xxxxxxxxx| xxxxxxxxx"];
D [label =" TABLE_D | 00 | <cc> cc | xxxxxxxxx| xxxxxxxxx"];
A:bb -> B:bb [arrowhead=crow];
A:cc -> C:cc [arrowhead=crow];
C:cc -> D:cc [arrowhead=crow];
instead of starting/ending the spline on the (vertical) axis of the node,
start/end on the (vertical) margin of the node .
[erg] If I understand correctly, the ambiguity you object to comes from an edge ending at the boundary where
one port abuts another. There are various ways to remove this. One is to add a compass point notation to
the edges to guarantee that the edge will be routed from the border. Another is to use the headclip and tailclip
[alex] Indeed output looks right with compass points. But the nice thing about Graphviz is the automatic layout, which is kinda contradictory manually adding the compasspoints.
Isn't it possible to have another value for compass points = "o", meaning "orthogonal"? This would allow dot to figure out the layout, and replace compasspoint with "n", "s", "e", "w" ?
Headclip/tailclip are not readable when combined with arrowhead/arrowtail: the head/tail is drawn over the text.
|Tags||No tags attached.|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> erg|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|