Understanding Connections
Connections:- Link a FromShape (source node) to a ToShape (destination node)
- Are components with properties, methods, and events
- Can have custom styles, arrows, colors, and text
- Support multiple connection points for complex routing
Creating Connections
Programmatic Creation
Interactive Creation
Allow users to create connections by clicking:Connection Styles
TeeTree supports multiple connection line styles:Using Styles
Connection Appearance
Border Properties
Arrows
Connections can have arrows at the start, end, or both ends.1
Enable Arrows
2
Configure Arrow Style
3
Customize Arrow Appearance
Example Configurations
Connection Text
Connections can display text labels:Connection Points
For complex routing, use connection points to create multi-segment paths.Adding Points
Point Styles
Connection points support various positioning modes:Advanced Point Usage
Finding Connections
From Node
From Tree
By Click
Deleting Connections
Connection Events
Click Events
Delete Events
Connection Visibility
Cursor
Customize the cursor when hovering over connections:Editing Connections
Magnetic Connections
When creating connections interactively, you can configure magnetic snapping:Connection Selection
Practical Examples
Flowchart Connections
Flowchart Connections
Network Diagram
Network Diagram
Next Steps
- Bind to database relationships with Database Trees
- Learn about Tree Events for interactive diagrams
- Explore Advanced Layouts for automatic node positioning
