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§

DiagramNodeCtx
Context data stored with diagram nodes in the taffy tree.
DimensionAndLod
The width and height of a diagram, and the level of detail to render.
EdgeLabelCtx
Context data stored with edge label leaf nodes in the TaffyTree.
EdgeLabelTaffyNodeIds
The taffy leaf node IDs for the two label slots of one edge.
EdgeSpacerCtx
Context data stored with edge spacer nodes in the taffy tree.
EdgeSpacerTaffyNodes
Holds spacer taffy node IDs for a single edge.
EntityHighlightedSpan
syntect highlighted span and its layout_run x/y/w/h from cosmic-text.
EntityHighlightedSpans
Highlighted spans of entity descriptions.
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.
TaffyNodeCtx
Context data stored with each node in the TaffyTree.

Constants§

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