Skip to main content
Connections are visual lines linking nodes together in TeeTree. Like nodes, connections are full components with extensive customization options.

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:
Call Tree1.StopConnecting to cancel an in-progress connection, such as when the user presses Escape.

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

Next Steps