]> granicus.if.org Git - graphviz/commitdiff
Use getAttrInt for defaultnodeshape rather than getAttrBool;
authorerg <devnull@localhost>
Wed, 14 Apr 2010 17:45:22 +0000 (17:45 +0000)
committererg <devnull@localhost>
Wed, 14 Apr 2010 17:45:22 +0000 (17:45 +0000)
hook back in background graphics

cmd/smyrna/topviewfuncs.c

index 34a153f6a78fc4b6128c839481eb7afc541dff0d..7cd21c572d4cda84897e6c61bb08bdd5105fc14d 100644 (file)
@@ -330,8 +330,13 @@ void renderNodes(Agraph_t * g)
     xdot * x;
     int ind;
 
-    defaultNodeShape=getAttrBool(g,g,"defaultnodeshape",0);
+    defaultNodeShape=getAttrInt(g,g,"defaultnodeshape",0);
 
+    x=parseXdotwithattrs(g);
+    if (x) {
+       draw_xdot(x,-0.2);
+       freeXDot (x);
+    }
     for (v = agfstnode(g); v; v = agnxtnode(g, v)) 
     {
            if(!object_color(v,&c))