gegl r3050 - in trunk: . gegl



Author: martinn
Date: Sun Apr 12 10:17:35 2009
New Revision: 3050
URL: http://svn.gnome.org/viewvc/gegl?rev=3050&view=rev

Log:
gegl: Also add edges to dependency based graphviz dot output

These lines was lost in the previous commit party

Modified:
   trunk/ChangeLog
   trunk/gegl/gegl-dot.c

Modified: trunk/gegl/gegl-dot.c
==============================================================================
--- trunk/gegl/gegl-dot.c	(original)
+++ trunk/gegl/gegl-dot.c	Sun Apr 12 10:17:35 2009
@@ -260,9 +260,14 @@
   gegl_dot_visitor_set_string_to_append (dot_visitor,
                                          string);
 
+  /* Add the nodes */
   gegl_visitor_dfs_traverse (GEGL_VISITOR (dot_visitor),
                              GEGL_VISITABLE (node));
 
+  /* Add the edges */
+  gegl_visitor_dfs_traverse (GEGL_VISITOR (dot_visitor),
+                             GEGL_VISITABLE (gegl_node_get_pad (node, "output")));
+
   g_object_unref (dot_visitor);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]