Show / Hide Table of Contents

Class SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SegmentContainer

SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment container.

Inheritance
System.Object
System.Collections.Generic.List<SugiyamaLayoutAlgorithm.Segment<>>
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SegmentContainer
Implements
System.Collections.Generic.IList<SugiyamaLayoutAlgorithm.Segment<>>
System.Collections.Generic.ICollection<SugiyamaLayoutAlgorithm.Segment<>>
System.Collections.Generic.IReadOnlyList<SugiyamaLayoutAlgorithm.Segment<>>
System.Collections.Generic.IReadOnlyCollection<SugiyamaLayoutAlgorithm.Segment<>>
System.Collections.IList
System.Collections.ICollection
SugiyamaLayoutAlgorithm.ISegmentContainer<>
System.Collections.Generic.IEnumerable<SugiyamaLayoutAlgorithm.Segment<>>
System.Collections.IEnumerable
SugiyamaLayoutAlgorithm.IData<>
System.ICloneable
Inherited Members
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.set_Item(System.Int32, System.Object)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Add(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.AddRange(System.Collections.Generic.IEnumerable<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.AsReadOnly()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.BinarySearch(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.BinarySearch(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, System.Collections.Generic.IComparer<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.BinarySearch(System.Int32, System.Int32, GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, System.Collections.Generic.IComparer<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Clear()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Contains(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.ConvertAll<TOutput>(System.Converter<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, TOutput>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.CopyTo(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>[])
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.CopyTo(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>[], System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.CopyTo(System.Int32, GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>[], System.Int32, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Exists(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Find(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindAll(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindIndex(System.Int32, System.Int32, System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindIndex(System.Int32, System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindIndex(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindLast(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindLastIndex(System.Int32, System.Int32, System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindLastIndex(System.Int32, System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.FindLastIndex(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.ForEach(System.Action<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.GetEnumerator()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.GetRange(System.Int32, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.IndexOf(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.IndexOf(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.IndexOf(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, System.Int32, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Insert(System.Int32, GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.LastIndexOf(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.LastIndexOf(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.LastIndexOf(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>, System.Int32, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Remove(GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.RemoveAll(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.RemoveAt(System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.RemoveRange(System.Int32, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Reverse()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Reverse(System.Int32, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Sort()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Sort(System.Collections.Generic.IComparer<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Sort(System.Comparison<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.Generic.IEnumerable<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.GetEnumerator()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.Add(System.Object)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.Contains(System.Object)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.IndexOf(System.Object)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.Remove(System.Object)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.ToArray()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.TrimExcess()
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.TrueForAll(System.Predicate<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm.Segment<>>)
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Capacity
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Count
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.Item[System.Int32]
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.Generic.ICollection<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.IsReadOnly
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.IsFixedSize
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.IsReadOnly
System.Collections.Generic.List<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.System.Collections.IList.Item[System.Int32]
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
protected class SegmentContainer : List<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, IList<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, ICollection<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, IReadOnlyList<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, IReadOnlyCollection<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, IList, ICollection, SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer, IEnumerable<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, IEnumerable, SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.IData, ICloneable

Constructors

| Improve this Doc View Source

SegmentContainer()

Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SegmentContainer class.

Declaration
public SegmentContainer()
| Improve this Doc View Source

SegmentContainer(Int32)

Initializes a new instance of the SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.SegmentContainer class.

Declaration
public SegmentContainer(int capacity)
Parameters
Type Name Description
System.Int32 capacity

Container capacity.

Properties

| Improve this Doc View Source

Position

Data position.

Declaration
public int Position { get; set; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

Append(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment)

Appends the segment segment to the end of this container.

Declaration
public void Append(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment segment)
Parameters
Type Name Description
SugiyamaLayoutAlgorithm.Segment<> segment

The segment to append.

| Improve this Doc View Source

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object
| Improve this Doc View Source

Join(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer)

Appends all elements of the container to this container.

Declaration
public void Join(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container)
Parameters
Type Name Description
SugiyamaLayoutAlgorithm.ISegmentContainer<> container

Container to append.

| Improve this Doc View Source

Split(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer)

Splits this container at segment segment into two containers container1 and container2. All elements less than segment are stored in container container1 and those who are greater than segment in container2. Element segment is neither in container1 or container2.

Declaration
public void Split(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment segment, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container1, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container2)
Parameters
Type Name Description
SugiyamaLayoutAlgorithm.Segment<> segment

The segment to split at.

SugiyamaLayoutAlgorithm.ISegmentContainer<> container1

The container which contains the elements before segment.

SugiyamaLayoutAlgorithm.ISegmentContainer<> container2

The container which contains the elements after segment.

| Improve this Doc View Source

Split(Int32, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer)

Splits this container at position k. The first k elements of the container are stored in container1 and the remainder in container2.

Declaration
public void Split(int k, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container1, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container2)
Parameters
Type Name Description
System.Int32 k

The index where the container should be split.

SugiyamaLayoutAlgorithm.ISegmentContainer<> container1

The container which contains the elements before k.

SugiyamaLayoutAlgorithm.ISegmentContainer<> container2

The container which contains the elements after k.

| Improve this Doc View Source

Split(Int32, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer, Boolean)

Splits this container at position k. The first k elements of the container are stored in container1 and the remainder in container2.

Declaration
protected void Split(int k, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container1, out SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer container2, bool keep)
Parameters
Type Name Description
System.Int32 k

The index where the container should be split.

SugiyamaLayoutAlgorithm.ISegmentContainer<> container1

The container which contains the elements before k.

SugiyamaLayoutAlgorithm.ISegmentContainer<> container2

The container which contains the elements after k.

System.Boolean keep

Indicates if kth item should be kept in container1 or not.

Implements

System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyList<T>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.IList
System.Collections.ICollection
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.IData
System.ICloneable

Extension Methods

GraphHelpers.GetDistances<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph)
GraphHelpers.GetDiameter<TVertex, TEdge, TGraph>(TGraph, out Double[,])
  • Improve this Doc
  • View Source
In This Article
Back to top GraphShape