/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/circogen/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_tmkNodelist ()
void freeNodelist (nodelist_t *list)
void appendNodelist (nodelist_t *list, nodelistitem_t *one, Agnode_t *n)
nodelist_treverseNodelist (nodelist_t *list)
void realignNodelist (nodelist_t *list, nodelistitem_t *np)
nodelist_tcloneNodelist (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 
)

Definition at line 54 of file nodelist.c.

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

Referenced by cloneNodelist().

nodelist_t* cloneNodelist ( nodelist_t list  ) 

Definition at line 177 of file nodelist.c.

References appendNodelist(), nodelistitem::curr, nodelist_t::first, nodelist_t::last, mkNodelist(), and nodelistitem::next.

void freeNodelist ( nodelist_t list  ) 

Definition at line 35 of file nodelist.c.

References nodelist_t::first, free(), and nodelistitem::next.

Referenced by freeBlock().

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

Definition at line 195 of file nodelist.c.

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

nodelist_t* mkNodelist ( void   ) 

Definition at line 29 of file nodelist.c.

References NEW.

Referenced by cloneNodelist().

int node_position ( nodelist_t list,
Agnode_t n 
)

Definition at line 313 of file nodelist.c.

References nodelistitem::curr, nodelist_t::first, Agnode_t::name, nodelistitem::next, and POSITION.

void realignNodelist ( nodelist_t list,
nodelistitem_t np 
)

Definition at line 155 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 352 of file nodelist.c.

References free(), and reverseNodelist().

nodelist_t* reverseNodelist ( nodelist_t list  ) 

Definition at line 134 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 258 of file nodelist.c.

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

Referenced by layout_block().


Generated on Mon Mar 31 19:04:10 2008 for Graphviz by  doxygen 1.5.1