Struct GraphConnection

Namespace
Forma
Assembly
Forma.dll

An edge between named graph nodes and their port indices.

public readonly struct GraphConnection : IEquatable<GraphConnection>
Implements
Inherited Members

Constructors

GraphConnection(string, int, string, int)

public GraphConnection(string fromNode, int fromPort, string toNode, int toPort)

Parameters

fromNode string
fromPort int
toNode string
toPort int

Properties

FromNode

public string FromNode { get; }

Property Value

string

FromPort

public int FromPort { get; }

Property Value

int

ToNode

public string ToNode { get; }

Property Value

string

ToPort

public int ToPort { get; }

Property Value

int

Methods

Equals(GraphConnection)

public bool Equals(GraphConnection other)

Parameters

other GraphConnection

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int