- **Breaking**: The `has_images`, `has_flat_edges`, `has_sourcerank`,
`has_sinkrank`, `expanded`, and `exact_ranksep` fields of the `Agraphinfo_t`
struct are now C99 `bool`s instead of Graphviz-specific `boolean`s.
-- **Breaking**: The `clustnode` field of the `Agnodeinfo_t` struct is now a C99
- `bool` instead of a Graphviz-specific `boolean`.
+- **Breaking**: The `clustnode` and `has_port` fields of the `Agnodeinfo_t`
+ struct are now C99 `bool`s instead of Graphviz-specific `boolean`s.
- **Breaking**: Graphviz headers no longer define the constant `MAXSHORT`. A
drop-in replacement is `SHRT_MAX` in the C standard library’s limits.h.
- **Breaking**: Graphviz headers no lnger define `NIL` macros. A drop-in
#endif
#ifndef NEATO_ONLY
unsigned char showboxes;
- boolean has_port;
+ bool has_port;
node_t* rep;
node_t *set;
/* libgraph always defines tailport/headport; libcgraph doesn't */
if (!str) str = "";
if (str && str[0])
- ND_has_port(agtail(e)) = TRUE;
+ ND_has_port(agtail(e)) = true;
ED_tail_port(e) = chkPort (ND_shape(agtail(e))->fns->portfn, agtail(e), str);
if (noClip(e, E_tailclip))
ED_tail_port(e).clip = false;
/* libgraph always defines tailport/headport; libcgraph doesn't */
if (!str) str = "";
if (str && str[0])
- ND_has_port(aghead(e)) = TRUE;
+ ND_has_port(aghead(e)) = true;
ED_head_port(e) = chkPort(ND_shape(aghead(e))->fns->portfn, aghead(e), str);
if (noClip(e, E_headclip))
ED_head_port(e).clip = false;
}
}
- ND_has_port(u) = TRUE; /* kinda pointless, because mincross is already done */
+ ND_has_port(u) = true; /* kinda pointless, because mincross is already done */
}