Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000151graphvizGraph Librariespublic2002-12-12 00:002011-04-28 04:02
ReporterKrishnam Raju Pericherla 
Assigned Toerg 
PlatformOS*-*-*OS Version
Summary0000151: Library I/O switches ports

Reading a file, then writing it has the possibility
of switching a port from one node to another.
For example, on certain machines, the output of nop on
the graph below has the edge e -- a:p0.
Steps To Reproduce

graph G {
  subgraph cluster0 {
     e [shape=record, label="<p0>"]
  a -- e:p0
Additional Information

[erg] During edge creation, libagraph canonicalizes undirected edges, so that
a may end up as the head and e the tail, but p0 is assigned to headport.

Note that the problem is more general, if less drastic. The drawing code
supports various directed attributes (dir, arrowtail, headlabel) on
undirected edges. If the library can switch the sense of an edge in an
indeterminate (by the user) manner, the user can never be sure what the
output will be.

Current fix handles ports specially, as is done in libgraph. This
leaves open the more general problem.
TagsNo tags attached.
Remove canonicalization, or check if sense of the edge is reversed and, if
so, change the type of port, though the latter won't fix the more general
STATUS-COMMENTFixed (16 December 2002)
VERSION 1.8.10
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