Graphviz 13.0.0~dev.20241220.2304
|
#include <assert.h>
#include <circogen/circular.h>
#include <circogen/block.h>
#include <util/alloc.h>
Go to the source code of this file.
Functions | |
void | initBlocklist (blocklist_t *bl) |
block_t * | mkBlock (Agraph_t *g) |
void | freeBlock (block_t *sp) |
int | blockSize (block_t *sp) |
void | appendBlock (blocklist_t *bl, block_t *bp) |
add block at end | |
void | insertBlock (blocklist_t *bl, block_t *bp) |
add block at beginning | |
void appendBlock | ( | blocklist_t * | bl, |
block_t * | bp | ||
) |
Definition at line 45 of file block.c.
References blocklist_t::first, blocklist_t::last, block::next, and NULL.
Referenced by createBlocktree(), and dfs().
int blockSize | ( | block_t * | sp | ) |
Definition at line 39 of file block.c.
References agnnodes(), and block::sub_graph.
Referenced by dfs().
void freeBlock | ( | block_t * | sp | ) |
Definition at line 31 of file block.c.
References block::circle_list, and free().
Referenced by freeBlocktree().
void initBlocklist | ( | blocklist_t * | bl | ) |
Definition at line 17 of file block.c.
References blocklist_t::first, blocklist_t::last, and NULL.
Referenced by createBlocktree(), initGraphAttrs(), and mkBlock().
void insertBlock | ( | blocklist_t * | bl, |
block_t * | bp | ||
) |
Definition at line 58 of file block.c.
References blocklist_t::first, blocklist_t::last, and block::next.
Referenced by dfs().
Definition at line 23 of file block.c.
References block::children, gv_alloc(), initBlocklist(), and block::sub_graph.