Graphviz 13.1.3~dev.20250831.0023
|
#include <circogen/nodelist.h>
#include <circogen/circular.h>
#include <assert.h>
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include <util/list.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 19 of file nodelist.c.
References LIST_APPEND, LIST_AT, LIST_SET, LIST_SIZE, LIST_SYNC, and NULL.
Referenced by insertNodelist(), and place_node().
|
static |
Definition at line 65 of file nodelist.c.
References LIST_APPEND, LIST_GET, and LIST_SIZE.
Referenced by reverseAppend().
Remove cn. Then, insert cn before neighbor if pos == 0 and after neighbor otherwise.
Definition at line 46 of file nodelist.c.
References appendNodelist(), LIST_GET, LIST_REMOVE, LIST_SIZE, and neighbor.
Referenced by reduce().
void realignNodelist | ( | nodelist_t * | list, |
size_t | np | ||
) |
Definition at line 36 of file nodelist.c.
References head, LIST_POP_FRONT, LIST_PUSH_BACK, and LIST_SIZE.
Referenced by layout_block().
void reverseAppend | ( | nodelist_t * | l1, |
nodelist_t * | l2 | ||
) |
Definition at line 72 of file nodelist.c.
References concatNodelist(), LIST_FREE, and LIST_REVERSE.
Referenced by find_longest_path().