Graphviz 13.0.0~dev.20241220.2304
|
#include <circogen/nodelist.h>
#include <circogen/circular.h>
#include <assert.h>
#include <limits.h>
#include <stddef.h>
#include <string.h>
Go to the source code of this file.
Functions | |
void | appendNodelist (nodelist_t *list, size_t one, Agnode_t *n) |
Add node after one. | |
void | realignNodelist (nodelist_t *list, size_t np) |
Make np new front of list, with current last hooked to current first. | |
void | insertNodelist (nodelist_t *list, Agnode_t *cn, Agnode_t *neighbor, int pos) |
static void | concatNodelist (nodelist_t *l1, nodelist_t *l2) |
attach l2 to l1. | |
void | reverseAppend (nodelist_t *l1, nodelist_t *l2) |
Create l1 @ (rev l2) Destroys and frees l2. | |
void appendNodelist | ( | nodelist_t * | list, |
size_t | one, | ||
Agnode_t * | n | ||
) |
Definition at line 18 of file nodelist.c.
References NULL.
Referenced by insertNodelist(), and place_node().
|
static |
Definition at line 64 of file nodelist.c.
Referenced by reverseAppend().
Remove cn. Then, insert cn before neighbor if pos == 0 and after neighbor otherwise.
Definition at line 45 of file nodelist.c.
References appendNodelist(), and neighbor.
Referenced by reduce().
void realignNodelist | ( | nodelist_t * | list, |
size_t | np | ||
) |
Definition at line 35 of file nodelist.c.
References head.
Referenced by layout_block().
void reverseAppend | ( | nodelist_t * | l1, |
nodelist_t * | l2 | ||
) |
Definition at line 71 of file nodelist.c.
References concatNodelist().
Referenced by find_longest_path().