Expand description
DAG (Directed Acyclic Graph) analysis for dependency tracking.
Mirrors the TypeScript DAG model (dag-types.ts) and provides
graph analysis algorithms that can be compiled to WASM for
browser-side interactive analysis.
Structsยง
- Dag
- Complete DAG state: nodes + reverse index.
- DagNode
- A single node in the DAG.
- Impact
Result
Enumsยง
- DagError
- Node
Status - Node status.
- Node
Type - Node type within the DAG.
Functionsยง
- barycenter ๐
- Barycenter: average position of neighbors in the given position map.
- cross_
product ๐ - position_
map ๐ - Build a map from node_id โ position_index within a layer.
- segments_
intersect ๐ - Check if two line segments intersect (for crossing count).