]> granicus.if.org Git - graphviz/commitdiff
Provide a default input scaling for -Knop* equivalent to "-s72"
authorellson <devnull@localhost>
Fri, 13 Jan 2006 16:49:34 +0000 (16:49 +0000)
committerellson <devnull@localhost>
Fri, 13 Jan 2006 16:49:34 +0000 (16:49 +0000)
plugin/neato_layout/gvlayout_neato_layout.c

index 79d68d74f0800686bb10634c1331bc65fe76dd3f..bd7d1953f4a63474b85aaa70dc8cc31efbad7e30 100644 (file)
@@ -53,12 +53,14 @@ extern void circo_cleanup(graph_t * g);
 static void nop1_layout(graph_t * g)
 {
     Nop = 1;
+    PSinputscale = POINTS_PER_INCH;
     neato_layout(g);
 }
 
 static void nop2_layout(graph_t * g)
 {
     Nop = 2;
+    PSinputscale = POINTS_PER_INCH;
     neato_layout(g);
 }