Doloro GDK 22 .1.0 Beta
by Tauri Interactive
|
Hyper cell of the graph that could be scaled at deep.
Graph vertex address map:
Legend mark | Representation |
---|---|
TC | TopCluster |
LC | LeftCluster |
RC | RightCluster |
BC | BottomCluster |
Public Member Functions | |
void | ConnectClusterToNetwork (GraphsNetwork network, Direction clusterDirection) |
Makes connection between an internal cluster and the graph instance withing a GraphsNetwork. More... | |
delegate void | GraphsRegistryChangeHandler (Graph oldEntry, Graph newEntry) |
Delegate for an agent that handles. More... | |
virtual Vector3 | GetNodePosition (GraphNode node) |
Returns the node's point suggested by the graph logic. More... | |
virtual void | SetNodePosition (GraphNode node, Vector3 position) |
Defines world position for the certain graph node. More... | |
virtual GraphNode | Add () |
Adds new GraphNode to the graph. More... | |
void | Add (string signature) |
Creates new GraphNode. More... | |
void | Add (string signature, out GraphNode node) |
Creates new GraphNode. More... | |
virtual void | Add (GraphNode node) |
Adds new node to the graph. More... | |
virtual T | Add< T > () |
Adds new node to the graph. More... | |
virtual T | Add< T > (string signature) |
Adds new node to the graph. More... | |
virtual bool | Remove (GraphNode node) |
Removing node from the graph. More... | |
virtual bool | Remove (string signature) |
Removing node from the graph. More... | |
virtual bool | Contains (string nodeSignature) |
Checks is the node included to the graph. More... | |
virtual bool | Contains (GraphNode node) |
Checks is the node included to the graph. More... | |
virtual bool | TryGetNode (string signature, out GraphNode node) |
Tries to get graph`s node by the signature. More... | |
Connection | GetConnection (Guid connectionId) |
Returns descriptor for the Connection by id. More... | |
virtual void | GetObjectData (SerializationInfo info, StreamingContext context) |
override string | ToString () |
Returns graph info. More... | |
void | Clear () |
Clears entire graph from nodes. | |
void | CopyTo (GraphNode[] array, int arrayIndex) |
Copies graph nodes of the graph to array. More... | |
void | CopyTo (string[] array, int arrayIndex) |
Copies GraphNode.signature entries in graph to array. More... | |
virtual IEnumerator< GraphNode > | GetEnumerator () |
Enumerates nodes withing the graph. More... | |
Static Public Member Functions | |
static ClusterGraph | Create () |
Builds graph | |
Protected Member Functions | |
void | OnBinaryDataLoaded () |
Must be called within ctor(SerializationInfo info, StreamingContext context) after binary data deserialization. | |
Package Functions | |
ClusterGraph (SerializationInfo info, StreamingContext context) | |
void | ReleaseConnection (Guid id) |
Releases connection from internal registry. More... | |
void | SetConnectionInfo (Connection connection) |
Adds connection info to the registry. More... | |
Properties | |
ScalableLineGraph | TopCluster [get, set] |
Data graph related to the top sub-cluster. | |
ScalableLineGraph | LeftCluster [get, set] |
Data graph related to the left sub-cluster. | |
ScalableLineGraph | RightCluster [get, set] |
Data graph related to the right sub-cluster. | |
ScalableLineGraph | BottomCluster [get, set] |
Data graph related to the bottom sub-cluster. | |
override GraphNode | TopEnterNode [get] |
Node using for connection to the graph from the above. 01 if TopCluster defined, 12 otherwise. More... | |
override GraphNode | LeftEnterNode [get] |
Node using for connection to the graph from the left. 20 if LeftCluster defined, 23 otherwise. More... | |
override GraphNode | RightEnterNode [get] |
Node using for connection to the graph from the right. 27 if RightCluster defined, 24 otherwise. More... | |
override GraphNode | BottomEnterNode [get] |
Node using for connection to the graph from the bottom. 41 if BottomCluster defined, 32 otherwise. More... | |
override GraphNode | TopEscapeNode [get] |
Node using as start point for top directed path. Node 12 . | |
override GraphNode | LeftEscapeNode [get] |
Node using as start point for left directed path. Node 23 . | |
override GraphNode | RightEscapeNode [get] |
Node using as start point for right directed path. Node 24 . | |
override GraphNode | BottomEscapeNode [get] |
Node using as start point for bottom directed path. Node 32 . | |
Guid | id [get] |
Id of the graph into internal runtime registry. | |
int | Count [get] |
Count of nodes into the graph. | |
int | ConnectionsCount [get] |
Count of currently established connections into the graph. | |
GraphNode | this[string signature] [get] |
Dictionary< string, GraphNode > | nodes [get] |
Graph navigation map. More... | |
bool | IsReadOnly [get] |
Always false. | |
Events | |
Action< GraphNode > | NodeAdded |
Occurs when new node added to the graph via the API. | |
Action< GraphNode > | NodeRemoved |
Occurs when new node removed from the graph via the API. | |
static GraphsRegistryChangeHandler | GraphObsoleted |
Occurs when registry overridden with a new graph with id that already has been registered. More... | |
|
virtualinherited |
Adds new GraphNode to the graph.
|
virtualinherited |
Adds new node to the graph.
node | Node to add. |
Reimplemented in Doloro.Graphs.Fragmented.GraphsNetwork.
|
inherited |
Creates new GraphNode.
signature | Node signature. |
|
inherited |
Creates new GraphNode.
signature | Node signature. |
node | Created instance. |
|
virtualinherited |
Adds new node to the graph.
T | Type of node to add. |
T | : | GraphNode | |
T | : | new() |
|
virtualinherited |
Adds new node to the graph.
T | Type of node to add. |
signature | Node signature. |
T | : | GraphNode |
void Doloro.UIEngine2.Modules.Graphs.ClusterGraph.ConnectClusterToNetwork | ( | GraphsNetwork | network, |
Direction | clusterDirection | ||
) |
Makes connection between an internal cluster and the graph instance withing a GraphsNetwork.
network | Network to setup. |
clusterDirection | Cluster direction. |
Direction | Representation |
---|---|
Direction.Top | TopCluster |
Direction.Left | LeftCluster |
Direction.Right | RightCluster |
Direction.Bottom | BottomCluster |
|
virtualinherited |
Checks is the node included to the graph.
node | Node to check. |
Reimplemented in Doloro.Graphs.Fragmented.GraphsNetwork.
|
virtualinherited |
Checks is the node included to the graph.
nodeSignature | GraphNode.signature to search. |
Reimplemented in Doloro.Graphs.Fragmented.GraphsNetwork.
|
inherited |
Copies graph nodes of the graph to array.
array | Destination array. |
arrayIndex | Start index at the destination array. |
|
inherited |
Copies GraphNode.signature entries in graph to array.
array | Destination array. |
arrayIndex | Insertion index at destination array. |
|
inherited |
Returns descriptor for the Connection by id.
connectionId | Id of the connection. |
|
virtualinherited |
Enumerates nodes withing the graph.
|
virtualinherited |
Returns the node's point suggested by the graph logic.
node | Target node. |
|
inherited |
Delegate for an agent that handles.
oldEntry | Entry that excluded from the registry. |
newEntry | Graph that applied to the registry instead of an old one. |
|
packageinherited |
Releases connection from internal registry.
id | Connection.id to release. |
|
virtualinherited |
Removing node from the graph.
node | Node to release. |
Reimplemented in Doloro.Graphs.Fragmented.GraphsNetwork.
|
virtualinherited |
Removing node from the graph.
signature | Signature of the node to release. |
Reimplemented in Doloro.Graphs.Fragmented.GraphsNetwork.
|
packageinherited |
Adds connection info to the registry.
connection | Connection to add. |
|
virtualinherited |
Defines world position for the certain graph node.
node | Node to position declare. |
position | World position related to the node. |
|
inherited |
Returns graph info.
|
virtualinherited |
Tries to get graph`s node by the signature.
signature | GraphNode.signature as access key. |
node | Node instance if found. |
|
get |
Node using for connection to the graph from the bottom. 41
if BottomCluster defined, 32
otherwise.
>
|
get |
Node using for connection to the graph from the left. 20
if LeftCluster defined, 23
otherwise.
>
|
getpackageinherited |
Graph navigation map.
string
- GraphNode.signature <see cref="GraphNode"/>
- node instance.
|
get |
Node using for connection to the graph from the right. 27
if RightCluster defined, 24
otherwise.
>
|
get |
Node using for connection to the graph from the above. 01
if TopCluster defined, 12
otherwise.
>
|
staticinherited |
Occurs when registry overridden with a new graph with id that already has been registered.
Could occur when you loading the graph that has been loaded up to the moment from the binary data.