Skip to main content

Module place

Module place 

Source
Available on crate feature layout only.
Expand description

Deterministic placement layouts (no RNG): bipartite two-column and radial.

Functions§

bipartite_layout
Bipartite layout: agents in one column/row, hyperedge markers in the other. Deterministic — no RNG. Each hyperedge emits a Stripe spanning the (oriented) y-range of its members at the marker’s x. Horizontal align swaps the role axis; see the module deviation note (its stripe is degenerate).
radial_layout
Radial layout: agents on concentric rings bucketed by membership count (higher membership ⇒ outer ring), evenly spread by angle in insertion order. Each hyperedge emits an Arc at the mean radius of its members spanning their angular range. Deterministic — no RNG.