Skip to main content

Module layout

Module layout 

Source
Expand description

Weave rendering helpers.

This library provides 3 different 2D Layouter implementations with identical behavior:

Structs§

DependentLayouter
A 2D Layouter which takes a DependentWeave as input.
IndependentLayouter
A 2D Layouter which takes an IndependentWeave as input.
Spacing
Minimum gaps in a Weave layout.
TopologicalLayouter
A 2D Layouter which orders nodes using Weave::get_ordered_identifiers().

Functions§

smooth
Smooths a polyline produced by this module’s Layouter implementation into a chain of cubic Bézier segments.