Dungeon Architect  17.0.0
DungeonArchitect.Graphs.GraphLink Class Reference

A graph link is a directional connection between two graph nodes More...

Inheritance diagram for DungeonArchitect.Graphs.GraphLink:
DungeonArchitect.Flow.Domains.Layout.Tooling.Graph2D.FlowLayoutToolGraph2DLink

Public Member Functions

void OnEnable ()
 
float GetTangentStrength ()
 Determines the spring strength of the link.
It reduces as it gets smaller to draw good looking link at any distance More...
 

Properties

int Id [get, set]
 The ID of the link More...
 
GraphPin Input [get, set]
 The input pin this link originates from More...
 
GraphPin Output [get, set]
 The output pin this link points to More...
 
Graph Graph [get, set]
 The graph this link belongs to More...
 

Detailed Description

A graph link is a directional connection between two graph nodes

Definition at line 11 of file GraphLink.cs.

Member Function Documentation

◆ GetTangentStrength()

float DungeonArchitect.Graphs.GraphLink.GetTangentStrength ( )

Determines the spring strength of the link.
It reduces as it gets smaller to draw good looking link at any distance

Returns

Definition at line 99 of file GraphLink.cs.

Property Documentation

◆ Graph

Graph DungeonArchitect.Graphs.GraphLink.Graph
getset

The graph this link belongs to

Definition at line 70 of file GraphLink.cs.

◆ Id

int DungeonArchitect.Graphs.GraphLink.Id
getset

The ID of the link

Definition at line 18 of file GraphLink.cs.

◆ Input

GraphPin DungeonArchitect.Graphs.GraphLink.Input
getset

The input pin this link originates from

Definition at line 36 of file GraphLink.cs.

◆ Output

GraphPin DungeonArchitect.Graphs.GraphLink.Output
getset

The output pin this link points to

Definition at line 53 of file GraphLink.cs.


The documentation for this class was generated from the following file: