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

Go to the source code of this file.

Functions

nodelist_t * mkNodelist ()
 
void freeNodelist (nodelist_t *list)
 
void appendNodelist (nodelist_t *list, nodelistitem_t *one, Agnode_t *n)
 
nodelist_t * reverseNodelist (nodelist_t *list)
 
void realignNodelist (nodelist_t *list, nodelistitem_t *np)
 
nodelist_t * cloneNodelist (nodelist_t *list)
 
void insertNodelist (nodelist_t *list, Agnode_t *cn, Agnode_t *neighbor, int pos)
 
int sizeNodelist (nodelist_t *list)
 
int node_position (nodelist_t *list, Agnode_t *n)
 
void reverseAppend (nodelist_t *l1, nodelist_t *l2)
 

Function Documentation

void appendNodelist ( nodelist_t *  list,
nodelistitem_t *  one,
Agnode_t *  n 
)
nodelist_t* cloneNodelist ( nodelist_t *  list)
void freeNodelist ( nodelist_t *  list)

Definition at line 32 of file nodelist.c.

References nodelist_t::first, and nodelistitem::next.

Referenced by freeBlock().

void insertNodelist ( nodelist_t *  list,
Agnode_t *  cn,
Agnode_t *  neighbor,
int  pos 
)
nodelist_t* mkNodelist ( void  )

Definition at line 26 of file nodelist.c.

References NEW.

Referenced by cloneNodelist().

int node_position ( nodelist_t *  list,
Agnode_t *  n 
)
void realignNodelist ( nodelist_t *  list,
nodelistitem_t *  np 
)

Definition at line 152 of file nodelist.c.

References nodelist_t::first, nodelist_t::last, nodelistitem::next, NULL, and nodelistitem::prev.

Referenced by layout_block().

void reverseAppend ( nodelist_t *  l1,
nodelist_t *  l2 
)

Definition at line 349 of file nodelist.c.

References reverseNodelist().

nodelist_t* reverseNodelist ( nodelist_t *  list)

Definition at line 131 of file nodelist.c.

References nodelist_t::first, nodelist_t::last, nodelistitem::next, and nodelistitem::prev.

Referenced by reverseAppend().

int sizeNodelist ( nodelist_t *  list)

Definition at line 255 of file nodelist.c.

References nodelist_t::first, nodelistitem::next, NULL, and nodelist_t::sz.

Referenced by layout_block().