Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001155graphvizDotpublic2006-07-25 05:552011-04-28 04:03
ReporterAdrian Bunk 
Assigned Togviz 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-OS Version
Summary0001155: suboptimal node placement creates overly long edges
Description



The following edges could be much smaller with a better node placement:
mtdjffs2userh -> endianh;
mtdjffs2userh -> byteswaph;
linuxbyteorderbigendianh -> testh;
Steps To Reproduce

digraph G {
rankdir=LR;
mtdjffs2userh [label = "mtd/jffs2-user.h"];
mtdmtduserh -> mtdmtdabih;
mtdjffs2userh -> linuxjffs2h;
mtdjffs2userh -> endianh;
mtdjffs2userh -> byteswaph;
linuxbyteorderbigendianh -> linuxtypesh;
linuxbyteorderbigendianh -> testh;
subgraph clustermtd { mtdjffs2userh; mtdmtduserh; mtdmtdabih; label="mtd"; }
subgraph clusterlinux { linuxbyteorderbigendianh; linuxbyteorderlittleendianh; linuxbyteordergenerich; linuxbyteorderswabh; linuxdvbcah; linuxdvbfrontendh; linuxdvbneth; linuxdvbosdh; linuxdvbversionh; linuxdvbaudioh; linuxdvbdmxh; linuxdvbvideoh; linuxhdlcioctlh; linuxisdncapicmdh; linuxnetfilternfconntracksctph; linuxnetfilternfconntracktuplecommonh; linuxnetfilternfnetlinkconntrackh; linuxnetfilternfnetlinklogh; linuxnetfilternfnetlinkqueueh; linuxnetfilterxtCLASSIFYh; linuxnetfilterxtCONNMARKh; linuxjffs2h; linuxtypesh; label="linux"; }
}
Additional Information

The original graph [1] I reduced for this bug report shows this even more extreme:
The edge "mtdjffs2userh -> byteswaph" goes down most of the length of the left side of the picture although node byteswaph could be placed in the empty space immediately right or below the mtd cluster.

[1] userspace-headers-i386-2.6.18-rc2 at http://ftp.kernel.org/pub/linux/kernel/people/bunk/hdrcleanup/graphics/ [^]
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID981
INPUT-FILE
OUTPUT-FILEhttp://www.graphviz.org/bugs/b981.png [^]
STATUS-COMMENT*
VERSION     2.9
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 => user1


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