* Note that the component subgraphs do not contain any edges. These must
* be obtained from the root graph.
*/
-Agraph_t **pccomps(Agraph_t * g, int *ncc, char *pfx, bool * pinned)
+Agraph_t **pccomps(Agraph_t * g, int *ncc, char *pfx, boolean * pinned)
{
int c_cnt = 0;
char buffer[SMALLBUF];
Agraph_t **ccs;
int len;
int bnd = 10;
- bool pin = FALSE;
+ boolean pin = FALSE;
if (agnnodes(g) == 0) {
*ncc = 0;
point *places;
Dict_t *ps;
int i;
- bool *fixed = pinfo->fixed;
+ boolean *fixed = pinfo->fixed;
int fixed_cnt = 0;
box fixed_bb = { {0, 0}, {0, 0} };
point center;
* Pack subgraphs followed by postprocessing.
*/
int
-pack_graph(int ng, Agraph_t** gs, Agraph_t* root, bool* fixed)
+pack_graph(int ng, Agraph_t** gs, Agraph_t* root, boolean* fixed)
{
int ret;
pack_info info;
unsigned int margin; /* margin left around objects, in points */
int doSplines; /* use splines in constructing graph shape */
pack_mode mode; /* granularity and method */
- bool *fixed; /* fixed[i] == true implies g[i] should not be moved */
+ boolean *fixed; /* fixed[i] == true implies g[i] should not be moved */
} pack_info;
extern point *putGraphs(int, Agraph_t **, Agraph_t *, pack_info *);
extern int packGraphs(int, Agraph_t **, Agraph_t *, pack_info *);
extern int packSubgraphs(int, Agraph_t **, Agraph_t *, pack_info *);
- extern int pack_graph(int, Agraph_t **, Agraph_t *, bool*);
+ extern int pack_graph(int, Agraph_t **, Agraph_t *, boolean*);
extern pack_mode getPackMode(Agraph_t * g, pack_mode dflt);
extern int getPack(Agraph_t *, int not_def, int dflt);
extern int isConnected(Agraph_t *);
extern Agraph_t **ccomps(Agraph_t *, int *, char *);
- extern Agraph_t **pccomps(Agraph_t *, int *, char *, bool *);
+ extern Agraph_t **pccomps(Agraph_t *, int *, char *, boolean *);
extern int nodeInduce(Agraph_t *);
#ifdef __cplusplus