Пример #1
0
 /// <summary>
 /// Gets if current algorithms set needs vertices sizes
 /// </summary>
 public bool AreVertexSizesNeeded()
 {
     return((ExternalLayoutAlgorithm == null && AlgorithmFactory.NeedSizes(DefaultLayoutAlgorithm))
            ||
            (ExternalLayoutAlgorithm != null && ExternalLayoutAlgorithm.NeedVertexSizes)
            ||
            AreOverlapNeeded() || ExternalEdgeRoutingAlgorithm != null || DefaultEdgeRoutingAlgorithm != EdgeRoutingAlgorithmTypeEnum.None);
 }
Пример #2
0
 /// <summary>
 /// Gets if current algorithms set needs vertices sizes
 /// </summary>
 public bool AreVertexSizesNeeded()
 {
     return((ExternalLayoutAlgorithm == null && AlgorithmFactory.NeedSizes(DefaultLayoutAlgorithm))
            ||
            (ExternalLayoutAlgorithm != null && ExternalLayoutAlgorithm.NeedVertexSizes)
            ||
            AreOverlapNeeded());
 }