1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Layout engine for positioning diagram elements.
//!
//! This module transforms semantic diagrams into positioned elements ready for
//! rendering. It handles node positioning, edge routing, and layer organization
//! for z-ordering across both component and sequence diagram types.
//!
//! # Pipeline Position
//!
//! ```text
//! Semantic Model (Diagram)
//! ↓ structure
//! DiagramHierarchy
//! ↓ layout (this module)
//! LayeredLayout
//! ↓ export
//! Output
//! ```
//!
//! # Submodules
//!
//! - [`component`] - Positioned diagram elements and their relationships (used across
//! all diagram kinds)
//! - [`layer`] - Layer organization and z-ordering for rendering
//! - [`positioning`] - Reusable positioning algorithms for layout engines
//! - [`sequence`] - Sequence diagram layout (participants, messages, activations)
//!
//! # Re-exports
//!
//! - [`EngineBuilder`] - Builder for creating and configuring layout engines
// Public re-export of the engine builder for easier access
pub use EngineBuilder;