Graphviz 13.0.0~dev.20241220.2304
|
API circogen/circo.h: circo_init_graph, circoLayout, circo_layout, circo_cleanup. More...
#include <circogen/circular.h>
#include <neatogen/adjust.h>
#include <pack/pack.h>
#include <neatogen/neatoprocs.h>
#include <stddef.h>
#include <stdbool.h>
#include <string.h>
#include <util/alloc.h>
Go to the source code of this file.
Functions | |
static void | circular_init_edge (edge_t *e) |
static void | circular_init_node_edge (graph_t *g) |
void | circo_init_graph (graph_t *g) |
static node_t * | makeDerivedNode (graph_t *dg, char *name, int isNode, void *orig) |
static Agraph_t ** | circomps (Agraph_t *g, size_t *cnt) |
static void | closeDerivedGraph (graph_t *g) |
static void | copyPosns (graph_t *g) |
void | circoLayout (Agraph_t *g) |
void | circo_layout (Agraph_t *g) |
void | circo_cleanup (graph_t *g) |
ND_alg is freed in circo_layout. | |
void circo_cleanup | ( | graph_t * | g | ) |
Definition at line 236 of file circularinit.c.
References agfstnode(), agfstout(), agnxtnode(), agnxtout(), closeDerivedGraph(), free(), GD_alg, GD_neato_nlist, gv_cleanup_edge(), gv_cleanup_node(), and NULL.
void circo_init_graph | ( | graph_t * | g | ) |
Definition at line 55 of file circularinit.c.
References agroot(), circular_init_node_edge(), EDGETYPE_LINE, GD_ndim, Ndim, and setEdgeType().
Referenced by circo_layout().
void circo_layout | ( | Agraph_t * | g | ) |
Definition at line 224 of file circularinit.c.
References agfstnode(), agnnodes(), circo_init_graph(), circoLayout(), dotneato_postprocess(), free(), ND_alg, and spline_edges().
void circoLayout | ( | Agraph_t * | g | ) |
Definition at line 188 of file circularinit.c.
References adjustNodes(), agnnodes(), circomps(), circularLayout(), CL_OFFSET, copyPosns(), free(), getPackInfo(), l_node, packSubgraphs(), and Agraph_s::root.
Referenced by circo_layout().
Definition at line 92 of file circularinit.c.
References agbindrec(), agedge(), agfstnode(), agfstout(), aghead, agnameof(), agnxtnode(), agnxtout(), agopen(), Agstrictundirected, agsubedge(), agtail, ccomps(), cnt(), DNODE, ED_alg, GD_alg, gv_alloc(), makeDerivedNode(), NULL, and ORIGN.
Referenced by circoLayout().
|
static |
Definition at line 25 of file circularinit.c.
References agbindrec(), common_init_edge(), E_weight, ED_factor, and late_double().
Referenced by circular_init_node_edge().
|
static |
Definition at line 34 of file circularinit.c.
References agfstnode(), agfstout(), agnnodes(), agnxtnode(), agnxtout(), circular_init_edge(), GD_neato_nlist, gv_calloc(), ND_alg, and neato_init_node().
Referenced by circo_init_graph().
|
static |
Definition at line 157 of file circularinit.c.
References agclose(), agfstnode(), agfstout(), agnxtnode(), agnxtout(), ED_alg, free(), ND_alg, and ND_pos.
Referenced by circo_cleanup().
|
static |
Definition at line 176 of file circularinit.c.
References agfstnode(), agnxtnode(), ND_pos, and ORIGN.
Referenced by circoLayout().
Definition at line 68 of file circularinit.c.
References agbindrec(), agnode(), gv_alloc(), gv_calloc(), ND_alg, ND_ht, ND_lw, ND_pos, ND_rw, Ndim, ORIGG, and ORIGN.
Referenced by circomps().