private IDiagramGraph GetGraph(ModelRelationshipStereotype stereotype)
        {
            var transitivityPartitionKey = _modelRelationshipFeatureProvider.GetTransitivityPartitionKey(stereotype);

            _diagramGraphsByRelationshipTransitivityGroup.TryGetValue(transitivityPartitionKey, out var graph);
            return(graph ?? DiagramGraph.Empty());
        }
예제 #2
0
 public static ILayoutGroup Empty(ModelNodeId?parentNodeId = null)
 {
     return(new LayoutGroup(parentNodeId, DiagramGraph.Empty(allowParallelEdges: false)));
 }