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 | #ifndef GRAPH_GENERATOR_H |
15 | #define GRAPH_GENERATOR_H |
16 | |
17 | typedef void (*edgefn)(int, int); |
18 | |
19 | extern void makeBall(int, int, edgefn); |
20 | extern void makeCircle(int, edgefn); |
21 | extern void makeComplete(int, edgefn); |
22 | extern void makeCompleteB(int, int, edgefn); |
23 | extern void makePath(int, edgefn); |
24 | extern void makeStar(int, edgefn); |
25 | extern void makeWheel (int, edgefn); |
26 | extern void makeTorus(int, int, edgefn); |
27 | extern void makeTwistedTorus(int, int, int, int, edgefn); |
28 | extern void makeCylinder(int, int, edgefn); |
29 | extern void makeRandom(int, int, edgefn); |
30 | extern void makeSquareGrid(int, int, int, int, edgefn); |
31 | extern void makeBinaryTree(int, edgefn); |
32 | extern void makeSierpinski(int, edgefn); |
33 | extern void makeHypercube(int, edgefn); |
34 | extern void makeTree(int, int, edgefn); |
35 | extern void makeTriMesh(int, edgefn); |
36 | extern void makeMobius(int, int, edgefn); |
37 | |
38 | typedef struct treegen_s treegen_t; |
39 | extern treegen_t* makeTreeGen (int); |
40 | extern void makeRandomTree (treegen_t*, edgefn); |
41 | extern void freeTreeGen(treegen_t*); |
42 | #endif |
43 | |