Show / Hide Table of Contents

Interface SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.ISegmentContainer

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

Inherited Members
System.Collections.Generic.IEnumerable<GraphShape.Algorithms.Layout.SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>.GetEnumerator()
SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.IData.Position
System.ICloneable.Clone()
Namespace: GraphShape.Algorithms.Layout
Assembly: GraphShape.dll
Syntax
protected interface ISegmentContainer : IEnumerable<SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment>, IEnumerable, SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.IData, ICloneable

Properties

| Improve this Doc View Source

Count

Element count.

Declaration
int Count { get; }
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
void Append(SugiyamaLayoutAlgorithm<TVertex, TEdge, TGraph>.Segment segment)
Parameters
Type Name Description
SugiyamaLayoutAlgorithm.Segment<> segment

The segment to append.

| Improve this Doc View Source

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

Appends all elements of the container to this container.

Declaration
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
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
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.

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