Represents one node in a network, it handles the coloring of the connections and part of the network creation process,
More...
|
override bool | Equals (object other) |
|
override int | GetHashCode () |
|
void | BringBack () |
| Tells this networknode that the networkcenter it belongs to is being brought back to the networkhandler. More...
|
|
void | SetReferenceManager (ReferenceManager referenceManager) |
|
void | AddNeighbour (NetworkNode buddy, float pcor) |
| Adds a neighbour to this node. A neughbour should be a gene that is correlated to this node's gene. This will also add this node as the neighbour's neighbour, so it's basically a bidirectional edge between two vertices. A gene may have many neighbours. More...
|
|
void | Highlight () |
| Makes this node and all outgoing edges big and white. More...
|
|
void | UnHighlight () |
| Makes this node and all outgoing edges small and whatever color they were before. More...
|
|
List< NetworkNode > | AllConnectedNodes () |
| Returns a list of all connected nodes. More...
|
|
void | RepositionEdges () |
| Repositions the edges based on this nodes neighbours. Called many times when a layout is switched for a smooth transitions. More...
|
|
void | ColorEdges () |
| Colors the edges of this network node according to the coloring method defined in CellexalConfig.Config. More...
|
|
|
Transform | CameraToLookAt [get, set] |
|
NetworkCenter | Center [get, set] |
|
string | Label [get, set] |
|
Vector3[] | LayoutPositions = new Vector3[2] [get, set] |
|
Represents one node in a network, it handles the coloring of the connections and part of the network creation process,
◆ AddNeighbour()
void CellexalVR.AnalysisObjects.NetworkNode.AddNeighbour |
( |
NetworkNode |
buddy, |
|
|
float |
pcor |
|
) |
| |
Adds a neighbour to this node. A neughbour should be a gene that is correlated to this node's gene. This will also add this node as the neighbour's neighbour, so it's basically a bidirectional edge between two vertices. A gene may have many neighbours.
- Parameters
-
◆ AllConnectedNodes()
List<NetworkNode> CellexalVR.AnalysisObjects.NetworkNode.AllConnectedNodes |
( |
| ) |
|
Returns a list of all connected nodes.
◆ BringBack()
void CellexalVR.AnalysisObjects.NetworkNode.BringBack |
( |
| ) |
|
Tells this networknode that the networkcenter it belongs to is being brought back to the networkhandler.
◆ ColorEdges()
void CellexalVR.AnalysisObjects.NetworkNode.ColorEdges |
( |
| ) |
|
Colors the edges of this network node according to the coloring method defined in CellexalConfig.Config.
◆ Highlight()
void CellexalVR.AnalysisObjects.NetworkNode.Highlight |
( |
| ) |
|
Makes this node and all outgoing edges big and white.
◆ RepositionEdges()
void CellexalVR.AnalysisObjects.NetworkNode.RepositionEdges |
( |
| ) |
|
Repositions the edges based on this nodes neighbours. Called many times when a layout is switched for a smooth transitions.
◆ UnHighlight()
void CellexalVR.AnalysisObjects.NetworkNode.UnHighlight |
( |
| ) |
|
Makes this node and all outgoing edges small and whatever color they were before.
The documentation for this class was generated from the following file:
- cellexalvr_cloudxr/Assets/Scripts/AnalysisObjects/NetworkNode.cs