Skip to main content

Module graph

Module graph 

Source

Structs§

BasicLinkValidator
Default validator: checks basic I/O compatibility
CompositeValidator
Composite validator that combines multiple validators
GraphLogic
Helper functions for graph operations
NoDuplicatesValidator
Validator that prevents duplicate links
NormalizedLink
Endpoints of a valid link in the canonical output-to-input order.
SimpleLink
Simple link data structure implementing LinkModel.

Enums§

ValidationError
Reasons why a link validation failed
ValidationResult
Result of link validation with optional rejection reason

Traits§

LinkModel
Trait for link data to support graph topology and rendering operations.
LinkValidator
Trait for custom link validation logic.
MovableNode
Trait for nodes that can be moved (dragged) in the editor. This allows generic logic to update node positions.

Functions§

validate_and_normalize_link
Validate a gesture, normalize it to output-to-input order, then apply topology rules.