Graphviz
2.41.20171026.1811
|
#include <nodelist.h>
Go to the source code of this file.
Data Structures | |
struct | blocklist_t |
struct | block |
Macros | |
#define | BLOCK_H |
#define | CHILD(b) ((b)->child) |
#define | BLK_PARENT(b) (CHILD(b)? PARENT(CHILD(b)) : 0) |
#define | BLK_FLAGS(b) ((b)->flags) |
#define | COALESCED_F (1 << 0) |
#define | COALESCED(b) (BLK_FLAGS(b)&COALESCED_F) |
#define | SET_COALESCED(b) (BLK_FLAGS(b) |= COALESCED_F) |
Typedefs | |
typedef struct block | block_t |
Functions | |
block_t * | mkBlock (Agraph_t *) |
void | freeBlock (block_t *sp) |
int | blockSize (block_t *sp) |
void | initBlocklist (blocklist_t *) |
void | appendBlock (blocklist_t *sp, block_t *sn) |
void | insertBlock (blocklist_t *sp, block_t *sn) |
#define CHILD | ( | b | ) | ((b)->child) |
Definition at line 55 of file block.h.
Referenced by createBlocktree().
#define COALESCED | ( | b | ) | (BLK_FLAGS(b)&COALESCED_F) |
#define SET_COALESCED | ( | b | ) | (BLK_FLAGS(b) |= COALESCED_F) |
void appendBlock | ( | blocklist_t * | sp, |
block_t * | sn | ||
) |
Definition at line 67 of file block.c.
References blocklist_t::first, blocklist_t::last, block::next, and NULL.
Referenced by createBlocktree().
Definition at line 59 of file block.c.
References agnnodes(), and block::sub_graph.
void freeBlock | ( | block_t * | sp | ) |
Definition at line 51 of file block.c.
References block::circle_list, and freeNodelist().
Referenced by delGrid(), and freeBlocktree().
void initBlocklist | ( | blocklist_t * | ) |
Definition at line 20 of file block.c.
References blocklist_t::first, blocklist_t::last, and NULL.
Referenced by createBlocktree(), and mkBlock().
void insertBlock | ( | blocklist_t * | sp, |
block_t * | sn | ||
) |
Definition at line 82 of file block.c.
References blocklist_t::first, blocklist_t::last, and block::next.
Definition at line 41 of file block.c.
References block::children, initBlocklist(), NEW, and block::sub_graph.