Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002083graphvizDotpublic2011-04-14 13:452013-09-13 15:50
ReporterChristophe Dupriez 
Assigned Toerg 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOther-Windows-Server 2003OS Version
Summary0002083: Loose nodes bad position, ratio=compress, Graphs and subgraphs...
Description


For Web display of (often) big schemas,
I want to set a maximum width
(users do not scroll easily on the horizontal axis)
but no maximum height
(for a given width, I want the users to be able to scroll down as much as needed).



size="9,1000";
ratio=compress;
is mostly doing the job.



Except if you have a loose node! It goes down under (thousand inches down!).
and you end with an enormous image where you needed a lot less.



I messed some times to identify the problem and to find a solution.
I thought it would be good to share:
just enclose your whole graph in a cluster !



My suggestions: check the "loose node" positionning algorithm
so it does not try to take all the surface (at least with ratio=compress).



I put hereunder a small example: just remove the subgraph to see the problem.



Good luck and THANK YOU for this fantastic tool!
Steps To Reproduce
digraph G {
label="Concept thSubstances_3001017 (displayed using ASKOSI.org)";
node [fontname="verdana" shape=box style=filled fillcolor=white];
fontname="Verdana";
rankdir=LR;
ranksep=0.3;
nodesep=0.15;
ratio=compress;
concentrate=true;
size="8,500";
splines=ortho;
stylesheet="/askosi/css/graf.css"
subgraph cluster_main {
label="";
bgcolor=grey91;
thSubstances[shape=house, label="Substances",id="thSubstances" style=filled fillcolor=lightblue];
thSubstances_3020700->thSubstances_3001017;
thSubstances_3001017->thSubstances_3029444;
thSubstances_3001017->thSubstances_3029443;
thSubstances_3001017->thSubstances_3029445;
thSubstances_3020700[label="MERCAPTOETHYLAMINES",tooltip="thSubstances_3020700",id="thSubstances_3020700"];
thSubstances_3001017[label="CYSTEAMINE",style=filled,fillcolor=yellow,tooltip="thSubstances_3001017",id="thSubstances_3001017"];
thSubstances_3029444[label="CYSTEAMINE\nBITARTRATE",tooltip="thSubstances_3029444",id="thSubstances_3029444"];
thSubstances_3029443[label="CYSTEAMINE\nHYDROCHLORIDE",tooltip="thSubstances_3029443",id="thSubstances_3029443"];
thSubstances_3029445[label="PHOSPHOCYSTEAMINE",tooltip="thSubstances_3029445",id="thSubstances_3029445"];
}
}
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2171
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT   Request
VERSION     2.26.3
Attached Files

- Relationships

-  Notes
User avatar (0000533)
erg (administrator)
2013-09-13 15:50

This appears to be fixed in 2.32.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1
2013-09-13 15:50 erg Note Added: 0000533
2013-09-13 15:50 erg Assigned To gviz => erg
2013-09-13 15:50 erg Status acknowledged => resolved
2013-09-13 15:50 erg Resolution no change required => fixed
2013-09-13 15:50 erg Description Updated View Revisions
2013-09-13 15:50 erg Steps to Reproduce Updated View Revisions


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