posEdges = NoEdges;
}
if (posEdges != AllEdges)
- spline_edges0(g, FALSE); /* add edges */
+ spline_edges0(g, false); /* add edges */
else
State = GVSPLINES;
}
static void doEdges(Agraph_t* g)
{
compute_bb(g);
- spline_edges0(g, TRUE);
+ spline_edges0(g, true);
}
/* neato_layout:
NEATOPROCS_API void solve_model(graph_t *, int);
NEATOPROCS_API int solveCircuit(int nG, double **Gm, double **Gm_inv);
NEATOPROCS_API void spline_edges(Agraph_t *);
- NEATOPROCS_API void spline_edges0(Agraph_t *, boolean);
+ NEATOPROCS_API void spline_edges0(Agraph_t *, bool);
NEATOPROCS_API int spline_edges1(graph_t * g, int);
NEATOPROCS_API int splineEdges(graph_t *,
int (*edgefn) (graph_t *, expand_t*, int), int);
* when output in dot or plain format.
*
*/
-void spline_edges0(graph_t * g, boolean set_aspect)
-{
+void spline_edges0(graph_t *g, bool set_aspect) {
int et = EDGE_TYPE (g);
if (set_aspect) neato_set_aspect(g);
if (et == EDGETYPE_NONE) return;
}
shiftClusters (g, GD_bb(g).LL);
- spline_edges0(g, TRUE);
+ spline_edges0(g, true);
}
/* scaleEdge:
#include <osage/osage.h>
#include <neatogen/neatoprocs.h>
#include <pack/pack.h>
+#include <stdbool.h>
#define CL_CHUNK 10
#define DFLT_SZ 18
ND_pos(n)[0] = PS2INCH(ND_coord(n).x);
ND_pos(n)[1] = PS2INCH(ND_coord(n).y);
}
- spline_edges0(g, TRUE);
+ spline_edges0(g, true);
}
else {
int et = EDGE_TYPE (g);