示例#1
0
		// ============================================================================================================

		/// <summary>
		/// return the node that is linked to the given slot
		/// </summary>
		public DiaQNode GetLinkedNode(DiaQGraph graph, int onOutSlot)
		{
			NodeLink link = outputs.FirstOrDefault(l => l.outSlot == onOutSlot);
			if (link != null) return graph.GetNode(link.targetNodeId);
			return null;
		}