Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
patchwork.h File Reference
#include "render.h"
#include <fdpgen/fdp.h>
Include dependency graph for patchwork.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rdata
 

Macros

#define RDATA(n)   ((rdata*)(ND_alg(n)))
 
#define SPARENT(n)   (RDATA(n)->parent)
 

Functions

void patchwork_layout (Agraph_t *g)
 
void patchwork_cleanup (Agraph_t *g)
 
void patchworkLayout (Agraph_t *g)
 

Macro Definition Documentation

◆ RDATA

#define RDATA (   n)    ((rdata*)(ND_alg(n)))

Definition at line 24 of file patchwork.h.

◆ SPARENT

#define SPARENT (   n)    (RDATA(n)->parent)

Definition at line 25 of file patchwork.h.

Function Documentation

◆ patchwork_cleanup()

void patchwork_cleanup ( Agraph_t g)
extern

Definition at line 139 of file patchworkinit.c.

References agfstnode(), agfstout(), agnxtnode(), agnxtout(), free(), gv_cleanup_edge(), gv_cleanup_node(), ND_alg, and patchwork_cleanup_graph().

Here is the call graph for this function:

◆ patchwork_layout()

void patchwork_layout ( Agraph_t g)
extern

Definition at line 122 of file patchworkinit.c.

References agnnodes(), dotneato_postprocess(), GD_n_cluster, patchwork_init_graph(), and patchworkLayout().

Here is the call graph for this function:

◆ patchworkLayout()

void patchworkLayout ( Agraph_t g)
extern

Definition at line 273 of file patchwork.c.

References agfindgraphattr, agfindnodeattr, treenode_t::area, freeTree(), layoutTree(), mkTree(), treenode_t::r, and walkTree().

Referenced by patchwork_layout().

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