UseMetadataVertexSorter ( IGraph graph ) { Debug.Assert(graph != null); this.VertexSorter = graph.ContainsKey(ReservedMetadataKeys.SortableLayoutAndZOrderSet) ? new ByMetadataVertexSorter <Single>( ReservedMetadataKeys.SortableLayoutAndZOrder) : null; }
UseMetadataVertexSorter ( IGraph graph ) { Debug.Assert(graph != null); this.VertexSorter = graph.ContainsKey(ReservedMetadataKeys.SortableLayoutAndZOrderSet) ? new ByMetadataVertexSorter<Single>( ReservedMetadataKeys.SortableLayoutAndZOrder) : null; }
//************************************************************************* // Constructor: SortableLayoutBase() // /// <summary> /// Initializes a new instance of the SortableLayoutBase class. /// </summary> //************************************************************************* public SortableLayoutBase() { m_oVertexSorter = null; // AssertValid(); }