Graphviz-specific `boolean`.
- **Breaking**: The `swapEnds` and `splineMerge` members of the `splineInfo`
struct must now be pointers to functions returning a C99 `bool`s instead of
- Graphviz-specific `boolean`s.
+ Graphviz-specific `boolean`s. Similarly the `ignoreSwap` member of this struct
+ must now be 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
typedef struct {
bool(*swapEnds) (edge_t * e); /* Should head and tail be swapped? */
bool(*splineMerge) (node_t * n); /* Is n a node in the middle of an edge? */
- boolean ignoreSwap; /* Test for swapped edges if false */
+ bool ignoreSwap; /* Test for swapped edges if false */
boolean isOrtho; /* Orthogonal routing used */
} splineInfo;
return false;
}
-static splineInfo sinfo = { swap_ends_p, spline_merge, 1, 1 };
+static splineInfo sinfo = { swap_ends_p, spline_merge, true, 1 };
/* orthoEdges:
* For edges without position information, construct an orthogonal routing.