Number: 1978
Title: sfdp does not honour DIMEN > 3
Submitter: mat kelcey
Date: Sun Jun 13 05:20:31 2010
Subsys: output generation
Version: sfdp - graphviz version 2.26.3 (20100126.1600)
System: *-Linux-Ubuntu 10.04
Severity: minor
Problem:
dimen is meant to represent the number of dimensions that are used for layout

consider the dot input attached with dimen=2

layout positions node in 2 dimensions


$ sfdp < bugreport.dot | grep aaa
aaa [pos="126.63,137.8", width="0.75", height="0.52778"];

changing to dimen=3


$ sfdp < bugreport.dot | grep aaa
aaa [pos="28,131.18,-404.65", width="0.75", height="0.52778"];

but changing to 4 (or higher) pos continues to only be 3 dimensional


$ sfdp < bugreport.dot | grep aaa
aaa [pos="28.053,20,-254.94", width="0.75", height="0.52778"];

Input:
graph { dimen=4; overlap=prism;
"aaa" -- "bbb" [penwidth="0"]
"ccc" -- "bbb" [penwidth="0"]
"ddd" -- "bbb" [penwidth="0"]
"eee" -- "fff" [penwidth="0"]
"ggg" -- "fff" [penwidth="0"]
}
Owner: erg
Status: Fixed (14 June 2010)