]> granicus.if.org Git - graphviz/commitdiff
make filewatching work with all layout engines
authorellson <devnull@localhost>
Fri, 5 May 2006 17:24:37 +0000 (17:24 +0000)
committerellson <devnull@localhost>
Fri, 5 May 2006 17:24:37 +0000 (17:24 +0000)
lib/gvc/gvcjob.h
lib/gvc/gvrender.c

index 742e8cd830334a90f741e4d684a8ea3de7481f3e..b2ceddbfb15459da88648b31640b778c2d17af44 100644 (file)
@@ -141,6 +141,8 @@ extern "C" {
        char *input_filename;
        int graph_index;
 
+       char *layout_type;
+
        char *output_filename;
        char *output_langname;
        FILE *output_file;
index 6577403babeddae894eb0702f6420de5d18fac8f..58445f93740026987b490a5e5074bacb4489cbe1 100644 (file)
@@ -127,6 +127,7 @@ void gvrender_begin_job(GVJ_t * job)
     GVC_t *gvc = job->gvc;
     gvrender_engine_t *gvre = job->render.engine;
     job->input_filename = gvc->gvg->input_filename;
+    job->layout_type = gvc->layout.type;
     job->graph_index = gvc->gvg->graph_index;
     job->bb = gvc->bb;
     if (gvre) {