ConnectionStyles class final

Built-in connection styles

This class provides easy access to all the built-in connection styles.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

allIds → List<String>
Get all connection style IDs
no setter

Static Methods

findById(String id) → ConnectionStyle?
Find a connection style by its ID
getWithFallback(String? id) → ConnectionStyle
Get a connection style with fallback to default
isBuiltIn(ConnectionStyle style) → bool
Check if a style is a built-in style

Constants

all → const List<ConnectionStyle>
All built-in connection styles
bezier → const ConnectionStyle
Smooth bezier curve connections
byId → const Map<String, ConnectionStyle>
Built-in styles mapped by their ID
customBezier → const ConnectionStyle
Custom bezier connections with configurable parameters
smoothstep → const ConnectionStyle
90-degree step connections with rounded corners
step → const ConnectionStyle
90-degree step connections without rounded corners
straight → const ConnectionStyle
Straight line connections with port extensions