Graphviz
13.0.0~dev.20250404.0032
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Related Symbols
Files
File List
Globals
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
e
f
g
h
i
l
m
o
p
r
s
t
x
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
macros.h
Go to the documentation of this file.
1
3
/*************************************************************************
4
* Copyright (c) 2011 AT&T Intellectual Property
5
* All rights reserved. This program and the accompanying materials
6
* are made available under the terms of the Eclipse Public License v1.0
7
* which accompanies this distribution, and is available at
8
* https://www.eclipse.org/legal/epl-v10.html
9
*
10
* Contributors: Details at https://graphviz.org
11
*************************************************************************/
12
13
#pragma once
14
15
#include <stdbool.h>
16
17
#define isPinned(n) (ND_pinned(n) == P_PIN)
18
#define hasPos(n) (ND_pinned(n) > 0)
19
#define isFixed(n) (ND_pinned(n) > P_SET)
20
21
#define CL_EDGE_TAG "cl_edge_info"
22
#define SET_CLUST_NODE(n) (ND_clustnode(n) = true)
23
#define IS_CLUST_NODE(n) (ND_clustnode(n))
24
#define HAS_CLUST_EDGE(g) (aggetrec(g, CL_EDGE_TAG, 0))
25
#define EDGE_TYPE(g) (GD_flags(g) & (7 << 1))
26
27
#define XPAD(d) ((d).x += 4*GAP)
28
#define YPAD(d) ((d).y += 2*GAP)
29
#define PAD(d) {XPAD(d); YPAD(d);}
lib
common
macros.h
Generated by
1.9.8