Commit 8734a137 authored by Martin Nordholts's avatar Martin Nordholts

gegl: Add gegl_dot_node_to_png_default()

Add gegl_dot_node_to_png_default() which simply calls
gegl_dot_node_to_png() with `png_path' set to "/tmp/node.png". A nice
convenience when debugging using a command line interface.
parent 515cb486
......@@ -309,6 +309,18 @@ gegl_to_dot (GeglNode *node)
return g_string_free (string, FALSE);
* gegl_dot_node_to_png_default:
* @node:
* Calls gegl_dot_node_to_png() with `png_path' set to "/tmp/node.png".
gegl_dot_node_to_png_default (GeglNode *node)
gegl_dot_node_to_png (node, "/tmp/node.png");
* gegl_dot_node_to_png:
* @node: Node to depict graph for.
......@@ -31,6 +31,7 @@ void gegl_dot_util_add_connection (GString *string,
GeglConnection *connection);
void gegl_dot_node_to_png (GeglNode *node,
const gchar *png_path);
void gegl_dot_node_to_png_default (GeglNode *node);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment