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
39
40
41
42
43
//! # dendryform-layout
//!
//! Shared layout engine that produces a [`LayoutPlan`] from a [`Diagram`](dendryform_core::Diagram).
//!
//! The layout plan contains relative positioning, geometry, and
//! connector routing. Format-specific renderers (HTML, SVG) consume
//! this plan to produce output in their native coordinate systems.
//!
//! ## Quick Start
//!
//! ```no_run
//! use dendryform_layout::compute_layout;
//!
//! let diagram = dendryform_parse::parse_yaml_file("examples/taproot/architecture.yaml").unwrap();
//! let plan = compute_layout(&diagram).unwrap();
//! println!("Layers: {}", plan.layers.len());
//! ```
pub use compute_layout;
pub use LayoutError;
pub use ;
/// Returns the version of the dendryform-layout crate.