Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvlayout_neato_layout.c File Reference
#include "config.h"
#include <stdio.h>
#include <gvc/gvplugin_layout.h>
#include <common/globals.h>
Include dependency graph for gvlayout_neato_layout.c:

Go to the source code of this file.

Enumerations

enum  layout_type {
  LAYOUT_NEATO , LAYOUT_FDP , LAYOUT_SFDP , LAYOUT_TWOPI ,
  LAYOUT_CIRCO , LAYOUT_PATCHWORK , LAYOUT_CLUSTER , LAYOUT_NOP1 ,
  LAYOUT_NOP2
}
 

Functions

void neato_layout (graph_t *g)
 
void fdp_layout (graph_t *g)
 
void sfdp_layout (graph_t *g)
 
void twopi_layout (graph_t *g)
 
void circo_layout (graph_t *g)
 
void patchwork_layout (graph_t *g)
 
void osage_layout (graph_t *g)
 
void neato_cleanup (graph_t *g)
 
void fdp_cleanup (graph_t *g)
 
void sfdp_cleanup (graph_t *g)
 
void twopi_cleanup (graph_t *g)
 
void circo_cleanup (graph_t *g)
 ND_alg is freed in circo_layout.
 
void patchwork_cleanup (graph_t *g)
 
void osage_cleanup (graph_t *g)
 
static void nop1_layout (graph_t *g)
 
static void nop2_layout (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_engine_t patchwork_engine
 
gvlayout_engine_t osage_engine
 
gvlayout_features_t neatogen_features
 
gvplugin_installed_t gvlayout_neato_types []
 

Enumeration Type Documentation

◆ layout_type

Enumerator
LAYOUT_NEATO 
LAYOUT_FDP 
LAYOUT_SFDP 
LAYOUT_TWOPI 
LAYOUT_CIRCO 
LAYOUT_PATCHWORK 
LAYOUT_CLUSTER 
LAYOUT_NOP1 
LAYOUT_NOP2 

Definition at line 20 of file gvlayout_neato_layout.c.

Function Documentation

◆ circo_cleanup()

void circo_cleanup ( graph_t g)
extern

Definition at line 236 of file circularinit.c.

◆ circo_layout()

void circo_layout ( graph_t g)
extern

Definition at line 224 of file circularinit.c.

◆ fdp_cleanup()

void fdp_cleanup ( graph_t g)
extern

Definition at line 143 of file fdpinit.c.

◆ fdp_layout()

void fdp_layout ( graph_t g)
extern

Definition at line 1082 of file layout.c.

◆ neato_cleanup()

void neato_cleanup ( graph_t g)
extern

Definition at line 155 of file neatoinit.c.

References agfstnode(), agfstout(), agnxtnode(), agnxtout(), gv_cleanup_edge(), gv_cleanup_node(), and neato_cleanup_graph().

Here is the call graph for this function:

◆ neato_layout()

void neato_layout ( graph_t g)
extern

Definition at line 1395 of file neatoinit.c.

References addZ(), agdelete(), agdelrec(), agerr(), agget(), AGPREV, cc_pfx, CL_OFFSET, compute_bb(), doEdges, pack_info::doSplines, EDGETYPE_LINE, pack_info::fixed, free(), free_scan_graph(), get_inputscale(), getPack(), getPackModeInfo(), graphAdjustMode(), graphviz_node_induce(), gv_calloc(), gv_postprocess(), init_nop(), l_node, l_undef, mapbool(), pack_info::margin, pack_info::mode, neato_init_graph(), neatoLayout(), neatoMode(), neatoModel(), Nop, NULL, Pack, packGraphs(), pccomps(), POINTS_PER_INCH, PSinputscale, removeOverlapWith(), setEdgeType(), and spline_edges().

Referenced by nop1_layout(), and nop2_layout().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ nop1_layout()

static void nop1_layout ( graph_t g)
static

Definition at line 48 of file gvlayout_neato_layout.c.

References neato_layout(), and Nop.

Here is the call graph for this function:

◆ nop2_layout()

static void nop2_layout ( graph_t g)
static

Definition at line 54 of file gvlayout_neato_layout.c.

References neato_layout(), and Nop.

Here is the call graph for this function:

◆ osage_cleanup()

void osage_cleanup ( graph_t g)
extern

Definition at line 370 of file osageinit.c.

◆ osage_layout()

void osage_layout ( graph_t g)
extern

Definition at line 335 of file osageinit.c.

◆ patchwork_cleanup()

void patchwork_cleanup ( graph_t g)
extern

Definition at line 131 of file patchworkinit.c.

◆ patchwork_layout()

void patchwork_layout ( graph_t g)
extern

Definition at line 114 of file patchworkinit.c.

◆ sfdp_cleanup()

void sfdp_cleanup ( graph_t g)
extern

Definition at line 301 of file sfdpinit.c.

◆ sfdp_layout()

void sfdp_layout ( graph_t g)
extern

Definition at line 228 of file sfdpinit.c.

◆ twopi_cleanup()

void twopi_cleanup ( graph_t g)
extern

Definition at line 180 of file twopiinit.c.

◆ twopi_layout()

void twopi_layout ( graph_t g)
extern

Definition at line 75 of file twopiinit.c.

Variable Documentation

◆ circogen_engine

gvlayout_engine_t circogen_engine
Initial value:
= {
}
void circo_layout(graph_t *g)
void circo_cleanup(graph_t *g)
ND_alg is freed in circo_layout.

Definition at line 82 of file gvlayout_neato_layout.c.

◆ fdpgen_engine

gvlayout_engine_t fdpgen_engine
Initial value:
= {
}
void fdp_layout(graph_t *g)
Definition layout.c:1082
void fdp_cleanup(graph_t *g)
Definition fdpinit.c:143

Definition at line 65 of file gvlayout_neato_layout.c.

◆ gvlayout_neato_types

gvplugin_installed_t gvlayout_neato_types[]
Initial value:
= {
{0, NULL, 0, NULL, NULL}}
node NULL
Definition grammar.y:163
gvlayout_engine_t nop2gen_engine
gvlayout_engine_t osage_engine
@ LAYOUT_PATCHWORK
@ LAYOUT_CLUSTER
gvlayout_engine_t fdpgen_engine
gvlayout_engine_t twopigen_engine
gvlayout_engine_t neatogen_engine
gvlayout_engine_t patchwork_engine
gvlayout_engine_t circogen_engine
gvlayout_features_t neatogen_features
gvlayout_engine_t nop1gen_engine

Definition at line 111 of file gvlayout_neato_layout.c.

◆ neatogen_engine

gvlayout_engine_t neatogen_engine
Initial value:
= {
}
void neato_layout(graph_t *g)
Definition neatoinit.c:1395
void neato_cleanup(graph_t *g)
Definition neatoinit.c:155

Definition at line 60 of file gvlayout_neato_layout.c.

◆ neatogen_features

gvlayout_features_t neatogen_features
Initial value:
= {
0,
}

Definition at line 107 of file gvlayout_neato_layout.c.

◆ nop1gen_engine

gvlayout_engine_t nop1gen_engine
Initial value:
= {
}
static void nop1_layout(graph_t *g)

Definition at line 87 of file gvlayout_neato_layout.c.

◆ nop2gen_engine

gvlayout_engine_t nop2gen_engine
Initial value:
= {
}
static void nop2_layout(graph_t *g)

Definition at line 92 of file gvlayout_neato_layout.c.

◆ osage_engine

gvlayout_engine_t osage_engine
Initial value:
= {
}
void osage_cleanup(graph_t *g)
Definition osageinit.c:370
void osage_layout(graph_t *g)
Definition osageinit.c:335

Definition at line 102 of file gvlayout_neato_layout.c.

◆ patchwork_engine

gvlayout_engine_t patchwork_engine
Initial value:
= {
}
void patchwork_cleanup(graph_t *g)
void patchwork_layout(graph_t *g)

Definition at line 97 of file gvlayout_neato_layout.c.

◆ twopigen_engine

gvlayout_engine_t twopigen_engine
Initial value:
= {
}
void twopi_cleanup(graph_t *g)
Definition twopiinit.c:180
void twopi_layout(graph_t *g)
Definition twopiinit.c:75

Definition at line 77 of file gvlayout_neato_layout.c.