Graphviz  2.41.20170921.2350
Functions
block.c File Reference
#include <assert.h>
#include "circular.h"
#include "block.h"
Include dependency graph for block.c:

Go to the source code of this file.

Functions

void initBlocklist (blocklist_t *bl)
 
block_tmkBlock (Agraph_t *g)
 
void freeBlock (block_t *sp)
 
int blockSize (block_t *sp)
 
void appendBlock (blocklist_t *bl, block_t *bp)
 
void insertBlock (blocklist_t *bl, block_t *bp)
 

Function Documentation

void appendBlock ( blocklist_t bl,
block_t bp 
)

Definition at line 67 of file block.c.

References blocklist_t::first, blocklist_t::last, block::next, and NULL.

Referenced by createBlocktree().

int blockSize ( block_t sp)

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 bl)

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 bl,
block_t bp 
)

Definition at line 82 of file block.c.

References blocklist_t::first, blocklist_t::last, and block::next.

block_t* mkBlock ( Agraph_t g)

Definition at line 41 of file block.c.

References block::children, initBlocklist(), NEW, and block::sub_graph.