/* mkMaze:
*/
-maze*
-mkMaze (graph_t* g, int doLbls)
-{
+maze *mkMaze(graph_t *g) {
node_t* n;
maze* mp = NEW(maze);
boxf* rects;
double w2, h2;
boxf bb, BB;
- // unused
- (void)doLbls;
-
mp->ngcells = agnnodes(g);
cp = mp->gcells = N_NEW(mp->ngcells, cell);
Dt_t* vchans;
} maze;
-extern maze* mkMaze (graph_t*, int);
+extern maze* mkMaze(graph_t*);
extern void freeMaze (maze*);
void updateWts (sgraph* g, cell* cp, sedge* ep);
#ifdef DEBUG
agerr(AGWARN, "Orthogonal edges do not currently handle edge labels. Try using xlabels.\n");
doLbls = 0;
}
- mp = mkMaze (g, doLbls);
+ mp = mkMaze(g);
sg = mp->sg;
#ifdef DEBUG
if (odb_flags & ODB_SGRAPH) emitSearchGraph (stderr, sg);