Skip to main content

Crate disposition_taffy_model

Crate disposition_taffy_model 

Source
Expand description

Data types for disposition to work with taffy.

Re-exports§

pub use taffy;

Structs§

DimensionAndLod
The width and height of a diagram, and the level of detail to render.
EntityHighlightedSpan
syntect highlighted span and its layout_run x/y/w/h from cosmic-text.
EntityHighlightedSpans
Highlighted spans of entity descriptions.
NodeContext
Data stored with each node in the taffy tree.
TaffyNodeMappings
The taffy tree and mappings from each IR node ID to its taffy node ID.

Enums§

DiagramLod
Level of detail to render in a diagram.
Dimension
The width and height of a diagram.
IrToTaffyError
Errors that can occur when building a Taffy tree from an IrDiagram.
NodeToTaffyNodeIds
taffy node IDs related to an IR diagram node.
ProcessesIncluded
Processes to include in diagram generation.

Constants§

TEXT_FONT_SIZE
Default text font size.
TEXT_LINE_HEIGHT
Default text line height.