[Dot] rendering or even opening attached .gv file instantly crashes gvedit.exe (attachment)
Ported Issue from Mantis Original ID: 2134 Attachments may only be available from the Mantis Tracker Reported By: pscion
SEVERITY: CRASH Submitted: 2011-08-30 00:55:48
OS: WINDOWS
OS BUILD: XP
PLATFORM: INTEL
DESCRIPTION
The line
`subgraph { rank=same j k b c d;}`
was the last thing added, and it is causing the crash. Source attached, and output without the above line attached for reference.
I was trying to figure out how to get the Objection#3 node to the left of its parent rather than underneath it, so the pic wouldn't be so wide.
STEPS TO REPRODUCE
graph {
compound=true;
bgcolor="#eeeeee";
node [shape=box, style=rounded] ;
a [root, label="Harvesting the Little Sisters is evil."];
subgraph cluster_reason0 {
label="Objection #3";
fontsize=8;
style="filled, rounded";
color=crimson;
node [style="filled, rounded", shape=box, color="#eeeeee"];
j [label="Harvesting \ncauses pain."];
k [label="Mere pain\n is not harm."];
};
subgraph cluster_reason1 {
label="Support";
fontsize=8;
style="filled, rounded";
color=forestgreen;
node [style="filled, rounded", shape=box, color="#eeeeee"];
b [label="Harvesting \ndoes harm."];
c [label="Harming\n people\n is evil."];
d [label="The Little\n Sisters\n are people."];
};
subgraph { rank=same j k b c d;}
subgraph cluster_reason2 {
label="Objection #1";
fontsize=8;
style="filled, rounded";
color=crimson;
node [style="filled, rounded", shape=box, color="#eeeeee"];
e [label="Harvesting\n energy\n helps me."];
f [label="I help \npeople."];
g [label="Helping\n people\n is good."];
};
subgraph cluster_reason3 {
label="Objection #2";
fontsize=8;
style="filled, rounded";
color=crimson;
node [style="filled, rounded", shape=box, color="#eeeeee"];
h [label="The Little\n Sisters are\n zombies."];
i [label="Zombies\n are not\n people\n anymore."];
};
edge [dir=forward, fontsize=8, penwidth=2, color=crimson, fontcolor=crimson ]
b -- e [label=" no, because", lhead=cluster_reason2];
d -- h [label=" no, because", lhead=cluster_reason3];
b -- j [label=" no, because", lhead=cluster_reason0];
a -- c [color=forestgreen, fontcolor=forestgreen, label=" yes, because", lhead=cluster_reason1];
}
Edited by Matthew Fernandez