DOT graph size causes large graphs to be truncated
Brought to you by:
apinstein
I have found that NOT specifying the size=... directive
in the $graph variable in process_pairs() allows the
graph to expand as necessary (useful if you want to
generate images from them and/or have very large
graphs). This avoids the graph being truncated by the
size directive.
Proposed fix:
// CUSTOM: Do not include fixed graph size (to
allow graphs to expand as needed)
// Old version: graph [splines=true
overlap=false rankdir=TB size=\"10,8\"]
$graph = "digraph navipairs {
graph [splines=true overlap=false rankdir=TB]
node [style=filled]
edge [style=bold, arrowsize=2.0]
";
Best regards,
Björn