Graphviz 14.0.2~dev.20251008.0253
Loading...
Searching...
No Matches
info.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#include <stdbool.h>
14#include <stddef.h>
15#include <util/api.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#include <neatogen/poly.h>
22#include <neatogen/voronoi.h>
23
33
35extern Info_t *nodeInfo;
36
38PRIVATE void addVertex(Site *, double, double);
39
40#ifdef __cplusplus
41}
42#endif
macro for API hiding/exposing
#define PRIVATE
Definition api.h:16
Info_t * nodeInfo
array of node info
Definition info.c:17
PRIVATE void addVertex(Site *, double, double)
insert vertex into sorted list
Definition info.c:101
info concerning site
Definition info.h:25
size_t n_verts
number of elements in verts
Definition info.h:31
Point * verts
sorted list of vertices of voronoi polygon
Definition info.h:30
bool overlaps
true if node overlaps other nodes
Definition info.h:28
Poly poly
polygon at node
Definition info.h:29
Agnode_t * node
libgraph node
Definition info.h:26
Site site
site used by voronoi code
Definition info.h:27
Definition poly.h:21
Definition site.h:23