private IDiagramGraph GetGraph(ModelRelationshipStereotype stereotype) { var transitivityPartitionKey = _modelRelationshipFeatureProvider.GetTransitivityPartitionKey(stereotype); _diagramGraphsByRelationshipTransitivityGroup.TryGetValue(transitivityPartitionKey, out var graph); return(graph ?? DiagramGraph.Empty()); }
public static ILayoutGroup Empty(ModelNodeId?parentNodeId = null) { return(new LayoutGroup(parentNodeId, DiagramGraph.Empty(allowParallelEdges: false))); }