Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000879graphvizDotpublic2005-04-24 14:472011-04-28 04:03
ReporterLabau Mickael 
Assigned Toerg 
PrioritynormalSeveritycosmeticReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOS*-*-OS Version
Summary0000879: strange output
Description



First sorry for my english i'm french and frogs don't speak very well english :p



dot create a strange organisation of nodes
particularly for the node _21_Operator
Why isn't it above the "<ATTRIBUTE>" sub graph ?
The entry point of "<INT>" subgraph would be at left and
the sub graph aligned with "<BOOLEAN>" and "<STRING>" subgraph
the exit point of "<INT>" subgraph would not zigzag between subgraphs



How can i resolve problem for a best display ?



Thanks you to you
Additional Information

[erg] If a graph has cycles, as yours does, dot has to break the cycles by reversing some edges. It uses
a depth-first search but for a complex graph like this one, it can be hard to be sure which edges are
going to be reversed.

The best guarantee is to use edge directions to direct how you want the nodes placed, flipping the edges
yourself to get an acyclic graph, and then using the dir, arrowhead or arrowtail attributes to make it look
as though the edge goes in the other direction.

In your case, try replacing:

  "INT_End" -> _21_Operator -> "INT_Start";

with

    _21_Operator -> "INT_End" [dir=back]
    "INT_Start" -> _21_Operator [dir=back]

Further constrains can be added using invisible edges, additional invisible nodes, and attributes such as
minlen and rank.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID693
INPUT-FILEhttp://www.graphviz.org/bugs/b693.dot [^]
OUTPUT-FILEhttp://www.graphviz.org/bugs/b693.ps [^]
STATUS-COMMENTInactive
VERSION     2.2
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