- **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**: 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
#pragma once
+#include <stdbool.h>
+
#ifndef NOTUSED
#define NOTUSED(var) (void) var
#endif
#define isFixed(n) (ND_pinned(n) > P_SET)
#define CL_EDGE_TAG "cl_edge_info"
-#define SET_CLUST_NODE(n) (ND_clustnode(n) = TRUE)
+#define SET_CLUST_NODE(n) (ND_clustnode(n) = true)
#define IS_CLUST_NODE(n) (ND_clustnode(n))
#define HAS_CLUST_EDGE(g) (aggetrec(g, CL_EDGE_TAG, FALSE))
#define EDGE_TYPE(g) (GD_flags(g) & (7 << 1))