private int Id(NodeInfo nodeInfo) { return _idMap[nodeInfo]; }
private string SubNodeId(NodeInfo nodeInfo, int itemIndex) { return string.Format("{0}_{1}", Id(nodeInfo), itemIndex); }
internal LinkInfo(NodeInfo source, NodeInfo target) { Source = source; Target = target; }