From: north Date: Wed, 23 Jul 2008 19:10:41 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: LAST_LIBGRAPH~32^2~3821 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83b14e44b87ab56b38dd65c2b1f3f7447573140d;p=graphviz *** empty log message *** --- diff --git a/cmd/smyrna/Makefile.am b/cmd/smyrna/Makefile.am index f527f4e8e..ecbf9696d 100644 --- a/cmd/smyrna/Makefile.am +++ b/cmd/smyrna/Makefile.am @@ -38,4 +38,5 @@ smyrna_LDADD = $(top_builddir)/lib/cgraph/libcgraph_C.la \ $(top_builddir)/lib/topfish/libtopfish_C.la \ $(top_builddir)/lib/common/libcommon_C.la \ $(top_builddir)/lib/neatogen/libneatogen_C.la \ - $(GTK_LIBS) $(GTKGLEXT_LIBS) $(GLADE_LIBS) $(EXPAT_LIBS) $(GTS_LIBS) $(EXTRA_SMYRNA_LDFLAGS) + $(GTK_LIBS) $(GTKGLEXT_LIBS) $(GLADE_LIBS) $(EXPAT_LIBS) $(GTS_LIBS) \ + $(EXTRA_SMYRNA_LDFLAGS) diff --git a/plugin/neato_layout/gvlayout_neato_layout.c b/plugin/neato_layout/gvlayout_neato_layout.c index 0c8c3d4ab..81eaef2eb 100644 --- a/plugin/neato_layout/gvlayout_neato_layout.c +++ b/plugin/neato_layout/gvlayout_neato_layout.c @@ -38,6 +38,7 @@ typedef enum { LAYOUT_NEATO, LAYOUT_CIRCO, LAYOUT_NOP1, LAYOUT_NOP2, + LAYOUT_PATCHWORK, } layout_type; extern void neato_layout(graph_t * g); @@ -45,12 +46,14 @@ extern void fdp_layout(graph_t * g); extern void sfdp_layout(graph_t * g); extern void twopi_layout(graph_t * g); extern void circo_layout(graph_t * g); +extern void patchwork_layout(graph_t * g); extern void neato_cleanup(graph_t * g); extern void fdp_cleanup(graph_t * g); extern void sfdp_cleanup(graph_t * g); extern void twopi_cleanup(graph_t * g); extern void circo_cleanup(graph_t * g); +extern void patchwork_cleanup(graph_t * g); static void nop1_layout(graph_t * g) { @@ -91,6 +94,11 @@ gvlayout_engine_t circogen_engine = { circo_cleanup, }; +gvlayout_engine_t patchwork_engine = { + patchwork_layout, + patchwork_cleanup, +}; + gvlayout_engine_t nop1gen_engine = { nop1_layout, neato_cleanup, @@ -113,6 +121,7 @@ gvplugin_installed_t gvlayout_neato_types[] = { #endif {LAYOUT_TWOPI, "twopi", 0, &twopigen_engine, &neatogen_features}, {LAYOUT_CIRCO, "circo", 0, &circogen_engine, &neatogen_features}, + {LAYOUT_PATCHWORK, "patchwork", 0, &patchwork_engine, &neatogen_features}, {LAYOUT_NOP1, "nop", 0, &nop1gen_engine, &neatogen_features}, {LAYOUT_NOP1, "nop1", 0, &nop1gen_engine, &neatogen_features}, {LAYOUT_NOP1, "nop2", 0, &nop2gen_engine, &neatogen_features},