Graphviz  2.41.20170921.2350
Data Structures | Macros | Typedefs | Functions
cmpnd.c File Reference
#include <cghdr.h>
Include dependency graph for cmpnd.c:

Go to the source code of this file.

Data Structures

struct  Agcmpnode_s
struct  Agcmpgraph_s
struct  save_e_s
struct  save_stack_s
struct  Agcmpedge_s
struct  Agsplice_arg_s


#define IN_STACK   0
#define OUT_STACK   1


typedef struct Agcmpnode_s Agcmpnode_t
typedef struct Agcmpgraph_s Agcmpgraph_t
typedef struct save_e_s save_e_t
typedef struct save_stack_s save_stack_t
typedef struct Agcmpedge_s Agcmpedge_t
typedef struct Agsplice_arg_s Agsplice_arg_t


int agsplice (Agedge_t *e, Agnode_t *target)
Agnode_tagcmpnode (Agraph_t *g, char *name)
int agassociate (Agnode_t *n, Agraph_t *sub)
int aghide (Agnode_t *cmpnode)
int agexpose (Agnode_t *cmpnode)
Agraph_tagcmpgraph_of (Agnode_t *n)
Agnode_tagcmpnode_of (Agraph_t *g)
Agnode_tagfindhidden (Agraph_t *g, char *name)

Macro Definition Documentation

#define IN_STACK   0

Definition at line 59 of file cmpnd.c.

#define OUT_STACK   1

Definition at line 60 of file cmpnd.c.

Typedef Documentation

typedef struct Agcmpedge_s Agcmpedge_t
typedef struct Agcmpgraph_s Agcmpgraph_t
typedef struct Agcmpnode_s Agcmpnode_t
typedef struct save_e_s save_e_t
typedef struct save_stack_s save_stack_t

Function Documentation

int agassociate ( Agnode_t n,
Agraph_t sub 

Definition at line 186 of file cmpnd.c.

References agbindrec(), agsubnode(), FAILURE, FALSE, Agcmpgraph_s::node, sub, Agcmpnode_s::subg, and SUCCESS.

Referenced by agcmpnode().

Agraph_t* agcmpgraph_of ( Agnode_t n)

Definition at line 354 of file cmpnd.c.

References aggetrec(), Agcmpnode_s::collapsed, FALSE, NILgraph, NOT, and Agcmpnode_s::subg.

Referenced by aghide().

Agnode_t* agcmpnode ( Agraph_t g,
char *  name 

Definition at line 174 of file cmpnd.c.

References agassociate(), agnode(), agsubg(), NILnode, and TRUE.

Agnode_t* agcmpnode_of ( Agraph_t g)

Definition at line 364 of file cmpnd.c.

References aggetrec(), FALSE, NILnode, and Agcmpgraph_s::node.

int agexpose ( Agnode_t cmpnode)
Agnode_t* agfindhidden ( Agraph_t g,
char *  name 

Definition at line 374 of file cmpnd.c.

References aggetrec(), dtsearch, FALSE, Agcmpgraph_s::hidden_node_set, and NILnode.

int aghide ( Agnode_t cmpnode)
int agsplice ( Agedge_t e,
Agnode_t target