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