Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
dotprocs.h
Go to the documentation of this file.
1/*************************************************************************
2 * Copyright (c) 2011 AT&T Intellectual Property
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * https://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors: Details at https://graphviz.org
9 *************************************************************************/
10
11#pragma once
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include <cgraph/list.h>
18#include <dotgen/aspect.h>
19#include <stdbool.h>
20
21DEFINE_LIST(ints, int)
22DEFINE_LIST(node_queue, Agnode_t *)
23
24 extern void acyclic(Agraph_t *);
25 extern void allocate_ranks(Agraph_t *);
26 extern void build_ranks(Agraph_t *, int, ints_t *);
27 extern void build_skeleton(Agraph_t *, Agraph_t *);
28 extern void checkLabelOrder (graph_t* g);
29 extern void class1(Agraph_t *);
30 extern void class2(Agraph_t *);
31 extern void decompose(Agraph_t *, int);
32 extern void delete_fast_edge(Agedge_t *);
33 extern void delete_fast_node(Agraph_t *, Agnode_t *);
34 extern void delete_flat_edge(Agedge_t *);
35 extern void dot_cleanup(graph_t * g);
36 extern void dot_layout(Agraph_t * g);
37 extern void dot_init_node_edge(graph_t * g);
38 extern void dot_scan_ranks(graph_t * g);
39 extern void enqueue_neighbors(node_queue_t *q, node_t *n0, int pass);
40 extern void expand_cluster(Agraph_t *);
41 extern Agedge_t *fast_edge(Agedge_t *);
42 extern void fast_node(Agraph_t *, Agnode_t *);
45 extern void flat_edge(Agraph_t *, Agedge_t *);
46 extern int flat_edges(Agraph_t *);
47 extern void install_cluster(Agraph_t *, Agnode_t *, int, node_queue_t *);
48 extern void install_in_rank(Agraph_t *, Agnode_t *);
49 extern bool is_cluster(Agraph_t *);
50 extern void dot_compoundEdges(Agraph_t *);
51 extern Agedge_t *make_aux_edge(Agnode_t *, Agnode_t *, double, int);
52 extern void mark_clusters(Agraph_t *);
53 extern void mark_lowclusters(Agraph_t *);
54 extern bool mergeable(edge_t *e, edge_t *f);
55 extern void merge_chain(Agraph_t*, Agedge_t*, Agedge_t*, bool);
56 extern void merge_oneway(Agedge_t *, Agedge_t *);
58 extern bool nonconstraint_edge(Agedge_t *);
59 extern void other_edge(Agedge_t *);
60 extern void rank1(graph_t * g);
61 extern int portcmp(port p0, port p1);
62 extern int ports_eq(edge_t *, edge_t *);
63 extern void rec_reset_vlists(Agraph_t *);
64 extern void rec_save_vlists(Agraph_t *);
65 extern void reverse_edge(Agedge_t *);
66 extern void safe_other_edge(Agedge_t *);
67 extern void save_vlist(Agraph_t *);
70 extern void virtual_weight(Agedge_t *);
71 extern void zapinlist(elist *, Agedge_t *);
72
73 extern Agraph_t* dot_root(void *);
74 extern void dot_concentrate(Agraph_t *);
75 extern void dot_mincross(Agraph_t *);
76 extern void dot_position(Agraph_t *);
77 extern void dot_rank(Agraph_t *);
78 extern void dot_sameports(Agraph_t *);
79 extern void dot_splines(Agraph_t *);
80
81#ifdef __cplusplus
82}
83#endif
void other_edge(Agedge_t *)
Definition fastgr.c:115
int flat_edges(Agraph_t *)
Definition flat.c:259
void delete_fast_node(Agraph_t *, Agnode_t *)
Definition fastgr.c:191
void class2(Agraph_t *)
Definition class2.c:160
void merge_chain(Agraph_t *, Agedge_t *, Agedge_t *, bool)
Definition class2.c:135
Agraph_t * dot_root(void *)
Definition dotinit.c:496
void dot_scan_ranks(graph_t *g)
Definition rank.c:202
void decompose(Agraph_t *, int)
Definition decomp.c:114
void dot_compoundEdges(Agraph_t *)
Definition compound.c:458
void dot_mincross(Agraph_t *)
Definition mincross.c:351
void zapinlist(elist *, Agedge_t *)
Definition fastgr.c:95
void dot_sameports(Agraph_t *)
Definition sameport.c:39
bool is_cluster(Agraph_t *)
Definition rank.c:460
bool nonconstraint_edge(Agedge_t *)
Definition class1.c:20
Agedge_t * virtual_edge(Agnode_t *, Agnode_t *, Agedge_t *)
Definition fastgr.c:172
void dot_splines(Agraph_t *)
Definition dotsplines.c:503
void rank1(graph_t *g)
Definition rank.c:373
void safe_other_edge(Agedge_t *)
Definition fastgr.c:120
void dot_rank(Agraph_t *)
Definition rank.c:449
void virtual_weight(Agedge_t *)
Definition mincross.c:1770
int portcmp(port p0, port p1)
Definition dotsplines.c:130
void enqueue_neighbors(node_queue_t *q, node_t *n0, int pass)
Definition mincross.c:1299
void expand_cluster(Agraph_t *)
Definition cluster.c:290
void checkLabelOrder(graph_t *g)
Definition mincross.c:305
void allocate_ranks(Agraph_t *)
Definition mincross.c:1153
void flat_edge(Agraph_t *, Agedge_t *)
Definition fastgr.c:217
void dot_concentrate(Agraph_t *)
Definition conc.c:205
void fast_node(Agraph_t *, Agnode_t *)
Definition fastgr.c:177
void delete_fast_edge(Agedge_t *)
Definition fastgr.c:108
void merge_oneway(Agedge_t *, Agedge_t *)
Definition fastgr.c:291
Agedge_t * make_aux_edge(Agnode_t *, Agnode_t *, double, int)
Definition position.c:176
Agedge_t * new_virtual_edge(Agnode_t *, Agnode_t *, Agedge_t *)
Definition fastgr.c:131
void class1(Agraph_t *)
Definition class1.c:62
void reverse_edge(Agedge_t *)
Definition acyclic.c:20
void dot_layout(Agraph_t *g)
Definition dotinit.c:490
void dot_position(Agraph_t *)
Definition position.c:125
void dot_init_node_edge(graph_t *g)
Definition dotinit.c:85
void build_skeleton(Agraph_t *, Agraph_t *)
Definition cluster.c:352
Agedge_t * fast_edge(Agedge_t *)
Definition fastgr.c:69
void rec_reset_vlists(Agraph_t *)
Definition mincross.c:948
int ports_eq(edge_t *, edge_t *)
Definition position.c:1011
Agedge_t * find_flat_edge(Agnode_t *, Agnode_t *)
Definition fastgr.c:54
bool mergeable(edge_t *e, edge_t *f)
Definition class2.c:155
void install_in_rank(Agraph_t *, Agnode_t *)
Definition mincross.c:1183
void dot_cleanup(graph_t *g)
Definition dotinit.c:177
void mark_clusters(Agraph_t *)
Definition cluster.c:308
Agedge_t * find_fast_edge(Agnode_t *, Agnode_t *)
Definition fastgr.c:41
void install_cluster(Agraph_t *, Agnode_t *, int, node_queue_t *)
Definition cluster.c:389
void rec_save_vlists(Agraph_t *)
Definition mincross.c:938
void delete_flat_edge(Agedge_t *)
Definition fastgr.c:224
void acyclic(Agraph_t *)
Definition acyclic.c:56
void save_vlist(Agraph_t *)
Definition mincross.c:928
void build_ranks(Agraph_t *, int, ints_t *)
Definition mincross.c:1231
void mark_lowclusters(Agraph_t *)
Definition cluster.c:404
Agnode_t * virtual_node(Agraph_t *)
Definition fastgr.c:202
#define DEFINE_LIST(name, type)
Definition list.h:26
graph or subgraph
Definition cgraph.h:425
Definition types.h:251
Definition types.h:48