Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000569graphvizDotpublic2002-01-18 16:292011-04-28 04:02
ReporterJohn Breen 
Assigned Toerg 
PlatformOSSparc-SunOS-5.8OS Version
Summary0000569: Using ports on non-record shapes causes splines on edges

I'm trying to use the headport and tailport attributes with box-shaped
nodes. Perhaps this isn't an official feature yet - the only place I
saw it described was the Dot.ref file. Basically, I want all of the
edge heads to come out one side of the nodes, and the tails to all
go in the opposite side (this is for a sequence diagram).

Consider the dot file shown below.

If I comment out both the "rank" statement and the "edge" statement,
I get a graph with a straight line pointing from the bottom of n0
to the top of n1.

If I uncomment the "rank" statement, I get the effect I'm trying for -
the right side of n0 connected to the left side of n1 -
except it doesn't persist if I add more nodes (the edges connect to
whatever side is closest).

Now here's where it gets strange. If I uncomment the "edge" statement,
I get essentially the same graph, except the edge is a rather curvy
spline, even though there's a straight path between the nodes. Just
as an off-hand guess, I'd say the control points are getting their
directions mixed up (but what do I know?).

If I have time, I'll try to dig through the source code, but I don't
know if it would be anytime soon.

Steps To Reproduce

digraph polyport {
    { node [shape=box];
      n0; n1;
    { rank = same;
      edge [headport=":w", tailport=":e"];
TagsNo tags attached.
VERSION     1.7.14
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => erg

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker