Module biodivine_sketchbook::sketchbook::layout
source · Expand description
Structs and utility methods regarding the layout of the Regulations editor.
Modules§
- _layout 🔒(internal) Utility methods for
Layout
. - (internal) Utility methods for
NodeLayout
. - (internal) Utility methods for
NodePosition
.
Structs§
- Structure to capture all the layout data regarding one particular layout of the regulations editor.
- A node for a particular
Variable
’s in a particularLayout
. This structure only holds information about the node itself, the id of the variable and layout is held elsewhere (see super::Layout or crate::sketchbook::model::ModelState). - Position of a particular
LayoutNode
at the editor’s layout. Coordinates are floating point and can be negative.
Type Aliases§
- An iterator over all (
VarId
,NodeLayout
) pairs of aLayout
.