| 1 | mod builder; |
| 2 | mod edit; |
| 3 | mod node; |
| 4 | mod normalize; |
| 5 | mod tree; |
| 6 | |
| 7 | pub use builder::DockLayout; |
| 8 | pub use edit::{EditResult, InsertTarget}; |
| 9 | |
| 10 | // `NodeKind` stays crate-private: `dock_area` reads through it to resolve slot |
| 11 | // sizes before a dump, but nothing outside this crate may build a node without |
| 12 | // going through `PaneTree`, which is what guarantees normalization always |
| 13 | // runs. |
| 14 | pub(crate) use node::NodeKind; |
| 15 | pub use node::{NodeId, PaneNode, PaneRef, PanelId}; |
| 16 | pub use tree::{PaneTree, RootKind}; |