Table of Contents

Class GraphDirectionExtensions

Namespace
LfrlAnvil.Collections.Extensions
Assembly
LfrlAnvil.Collections.dll

Contains GraphDirection extension methods.

public static class GraphDirectionExtensions
Inheritance
GraphDirectionExtensions
Inherited Members

Methods

Invert(GraphDirection)

Inverts the provided direction. Returns Out for In, In for Out and Both for Both.

[Pure]
public static GraphDirection Invert(this GraphDirection direction)

Parameters

direction GraphDirection

Direction to invert.

Returns

GraphDirection

Inverted direction.