Graphviz
2.41.20171026.1811
Main Page
Data Structures
Files
File List
Globals
lib
circogen
nodeset.h
Go to the documentation of this file.
1
/* $Id$ $Revision$ */
2
/* vim:set shiftwidth=4 ts=8: */
3
4
/*************************************************************************
5
* Copyright (c) 2011 AT&T Intellectual Property
6
* All rights reserved. This program and the accompanying materials
7
* are made available under the terms of the Eclipse Public License v1.0
8
* which accompanies this distribution, and is available at
9
* http://www.eclipse.org/legal/epl-v10.html
10
*
11
* Contributors: See CVS logs. Details at http://www.graphviz.org/
12
*************************************************************************/
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#ifndef NODESET_H
19
#define NODESET_H
20
21
#include <
render.h
>
22
23
typedef
struct
{
24
Dtlink_t
link
;
25
Agnode_t
*
np
;
26
}
nsitem_t
;
27
28
typedef
Dt_t
nodeset_t
;
29
30
extern
nodeset_t *
mkNodeset
(
void
);
31
extern
void
freeNodeset
(nodeset_t *);
32
extern
void
clearNodeset
(nodeset_t *);
33
extern
void
insertNodeset
(nodeset_t * ns,
Agnode_t
* n);
34
extern
void
removeNodeset
(nodeset_t *,
Agnode_t
* n);
35
extern
int
sizeNodeset
(nodeset_t * ns);
36
37
#ifdef DEBUG
38
extern
void
printNodeset
(nodeset_t *);
39
#endif
40
41
#endif
42
43
#ifdef __cplusplus
44
}
45
#endif
printNodeset
void printNodeset(nodeset_t *ns)
Definition:
nodeset.c:112
nsitem_t::link
Dtlink_t link
Definition:
nodeset.h:24
sizeNodeset
int sizeNodeset(nodeset_t *ns)
Definition:
nodeset.c:103
nsitem_t
Definition:
nodeset.h:23
freeNodeset
void freeNodeset(nodeset_t *s)
Definition:
nodeset.c:67
clearNodeset
void clearNodeset(nodeset_t *s)
Definition:
nodeset.c:76
_dtlink_s
Definition:
cdt.h:44
Agnode_s
Definition:
cgraph.h:133
nsitem_t::np
Agnode_t * np
Definition:
nodeset.h:25
render.h
mkNodeset
nodeset_t * mkNodeset()
Definition:
nodeset.c:57
insertNodeset
void insertNodeset(nodeset_t *ns, Agnode_t *n)
Definition:
nodeset.c:84
_dt_s
Definition:
cdt.h:99
removeNodeset
void removeNodeset(nodeset_t *ns, Agnode_t *n)
Definition:
nodeset.c:92
nodeset_t
Dt_t nodeset_t
Definition:
nodeset.h:28
Generated by
1.8.5