internal void LinkScreenToNode(TopAdlibObject adlibObject, AdlibNode node, string screen, AdlibEdgeType edgeType) { if (!string.IsNullOrWhiteSpace(screen)) { var path = ScreenPath(adlibObject, screen); if (screens.ContainsKey(path)) { AddEdge(node, edgeType, screens[path]); } } }
string ScreenPath(TopAdlibObject adlibObject, string screenPath) => ScreenPath(Path.Combine(Path.GetDirectoryName(adlibObject.PhysicalPath), screenPath));