internal void AddEdge(NetworkComponent target) { if (target == null) { return; } Connections.Add(target); }
internal void AddEdge(NetworkComponent target, NetworkLink link) { if (target == null) { return; } ComponentPairing t = new ComponentPairing() { Source = this.ComponentGuid, Target = target.ComponentGuid }; Connections.Add(target); FullyConnectedConnections.Add(new FullNode() { Source = this, Target = target, Link = link }); }
internal bool IsInSameZone(NetworkComponent tailComponent) { return(tailComponent.Parent_id == this.Parent_id); }