Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.UIEngine2.Modules.Graphs.UniformGraphUI Class Reference

Detailed Description

Instance that allows to convert RAW Graph data to a complex network of sub-graphs connected with stand-alone GUI elements.

Classes

class  Utility
 

Static Public Member Functions

static UniformGraphUI Create (ClusterGraphGUIElement resource, Graph data, string entryNode)
 Generated clustered multi layer graph along with raw points graph. More...
 

Static Public Attributes

static string bundle
 Bundle.Key for access the default LineRenderer DynamicResource instance via the DynamicResourcesDatabase.
 

Protected Member Functions

 UniformGraphUI ()
 Enclosed default constructor. More...
 
void RenderLines ()
 
void ClearLines ()
 Removes pre-built line renderer instances.
 
Direction GetValidDirection (Connection conneciton, GraphNode node)
 Getting connection direction along with points order. More...
 
Direction RevertDirection (Direction direction)
 

Properties

static float TRIM_THRESHOLD = 0 [get, set]
 
static float NOISE_TRIM_THRESHOLD = 0.1f [get, set]
 
static string string key DEFAULT_LINE_RENDERER_RSOURCE_SIGN = ("DUI2-Graphs", "default") [get, set]
 
AGUIElement root [get]
 GUI element that considered as created UI root
 
Graph RAW [get]
 Source RAW data had been used to UI instantiation.
 
AGUIElement LinesHodler [get]
 Object that holds entire rendering lines.
 

Constructor & Destructor Documentation

◆ UniformGraphUI()

Doloro.UIEngine2.Modules.Graphs.UniformGraphUI.UniformGraphUI ( )
protected

Enclosed default constructor.

Use Create instead.

Member Function Documentation

◆ Create()

static UniformGraphUI Doloro.UIEngine2.Modules.Graphs.UniformGraphUI.Create ( ClusterGraphGUIElement  resource,
Graph  data,
string  entryNode 
)
static

Generated clustered multi layer graph along with raw points graph.

Parameters
resourceGraph prefab that defines layout settings.
dataSource data.
entryNodeSignature of the node that considering as
Returns
Instantiated GUI element.

◆ GetValidDirection()

Direction Doloro.UIEngine2.Modules.Graphs.UniformGraphUI.GetValidDirection ( Connection  conneciton,
GraphNode  node 
)
protected

Getting connection direction along with points order.

Parameters
connecitonConnection descriptor.
nodeScoped node.
Returns
Direction of the connection.

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