Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001333graphvizDotpublic2008-05-27 06:492011-04-28 04:03
ReporterAlexandru Toth 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-Win XPOS Version
Summary0001333: source / destination of edges are ambigous
Description



Hi,



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)



Cheers, Alex
Steps To Reproduce

digraph {
    rankdir=LR;
    node [shape=record];
    graph [splines=true];

    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];
}
Additional Information

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
attributes.

[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.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1366
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b1366.png [^]
STATUS-COMMENTFixed
VERSION     2.16.1
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker