#include <stdio.h>
#include "gvplugin_layout.h"
#include "globals.h"
Include dependency graph for gvlayout_neato_layout.c:
Go to the source code of this file.
Enumerations | |
enum | layout_type { LAYOUT_DOT, LAYOUT_NEATO, LAYOUT_FDP, LAYOUT_TWOPI, LAYOUT_CIRCO, LAYOUT_NOP1, LAYOUT_NOP2 } |
Functions | |
void | neato_layout (graph_t *g) |
void | fdp_layout (graph_t *g) |
void | twopi_layout (graph_t *g) |
void | circo_layout (graph_t *g) |
void | neato_cleanup (graph_t *g) |
void | fdp_cleanup (graph_t *g) |
void | twopi_cleanup (graph_t *g) |
void | circo_cleanup (graph_t *g) |
Variables | |
gvlayout_engine_t | neatogen_engine |
gvlayout_engine_t | fdpgen_engine |
gvlayout_engine_t | twopigen_engine |
gvlayout_engine_t | circogen_engine |
gvlayout_engine_t | nop1gen_engine |
gvlayout_engine_t | nop2gen_engine |
gvlayout_features_t | neatogen_features |
gvplugin_installed_t | gvlayout_neato_types [] |
enum layout_type |
Definition at line 34 of file gvlayout_neato_layout.c.
void circo_cleanup | ( | graph_t * | g | ) |
Definition at line 334 of file circularinit.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), free(), GD_alg, GD_neato_nlist, NULL, Agraph_t::root, and Agraph_t::u.
void circo_layout | ( | graph_t * | g | ) |
Definition at line 295 of file circularinit.c.
References agfstnode(), agnnodes(), circo_init_graph(), circoLayout(), dotneato_postprocess(), free(), ND_alg, and spline_edges().
void fdp_cleanup | ( | graph_t * | g | ) |
Definition at line 169 of file fdpinit.c.
References agfstedge(), agfstnode(), agnxtedge(), agnxtnode(), free(), and ND_alg.
void fdp_layout | ( | graph_t * | g | ) |
Definition at line 1106 of file layout.c.
References dotneato_postprocess(), EDGE_TYPE, ET_NONE, fdp_init_graph(), fdpLayout(), and neato_set_aspect().
void neato_cleanup | ( | graph_t * | g | ) |
Definition at line 183 of file neatoinit.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), neato_cleanup_edge(), neato_cleanup_graph(), and neato_cleanup_node().
void neato_layout | ( | graph_t * | g | ) |
Definition at line 1338 of file neatoinit.c.
References adjustNodes(), agdelete(), agerr(), agfstout(), agnxtout(), AGPREV, agusergraph(), CL_OFFSET, compute_bb(), pack_info::doSplines, dotneato_postprocess(), pack_info::fixed, free(), free_scan_graph(), getPack(), getPackMode(), Agnode_t::graph, Agedge_t::head, init_nop(), l_node, l_undef, pack_info::margin, Agraph_t::meta_node, pack_info::mode, N_NEW, Agraph_t::name, neato_init_graph(), neatoLayout(), nodeInduce(), Nop, packGraphs(), pccomps(), PSinputscale, spline_edges(), and TRUE.
void twopi_cleanup | ( | graph_t * | g | ) |
Definition at line 164 of file twopiinit.c.
References agfstnode(), agfstout(), agnxtnode(), and agnxtout().
void twopi_layout | ( | graph_t * | g | ) |
Definition at line 73 of file twopiinit.c.
References adjustNodes(), agcontains(), agdelete(), agerr(), agfindnode(), agfstnode(), agget(), agnnodes(), AGPREV, AGWARN, ccomps(), circleLayout(), CL_OFFSET, pack_info::doSplines, dotneato_postprocess(), pack_info::fixed, free(), getPack(), getPackMode(), l_node, pack_info::margin, pack_info::mode, ND_alg, nodeInduce(), NULL, packSubgraphs(), spline_edges(), and twopi_init_graph().
Initial value:
{ circo_layout, circo_cleanup, }
Definition at line 79 of file gvlayout_neato_layout.c.
Initial value:
{ {LAYOUT_NEATO, "neato", 0, &neatogen_engine, &neatogen_features}, {LAYOUT_FDP, "fdp", 0, &fdpgen_engine, &neatogen_features}, {LAYOUT_TWOPI, "twopi", 0, &twopigen_engine, &neatogen_features}, {LAYOUT_CIRCO, "circo", 0, &circogen_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}, {0, NULL, 0, NULL, NULL} }
Definition at line 98 of file gvlayout_neato_layout.c.
Initial value:
{ neato_layout, neato_cleanup, }
Definition at line 64 of file gvlayout_neato_layout.c.
Initial value:
{ nop1_layout, neato_cleanup, }
Definition at line 84 of file gvlayout_neato_layout.c.
Initial value:
{ nop2_layout, neato_cleanup, }
Definition at line 89 of file gvlayout_neato_layout.c.
Initial value:
{ twopi_layout, twopi_cleanup, }
Definition at line 74 of file gvlayout_neato_layout.c.