Skip to content

WorkflowGraphEdge

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Represents the connection between two nodes.

public sealed record WorkflowGraphEdge : IEquatable<WorkflowGraphEdge>

objectWorkflowGraphEdge

IEquatable<WorkflowGraphEdge>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public WorkflowGraphEdge()

Gets the source node’s identifier.

public required string From { get; init; }

string

Gets the edge’s kind.

public required WorkflowEdgeKind Kind { get; init; }

WorkflowEdgeKind

Gets the target node’s identifier.

public required string To { get; init; }

string

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(WorkflowGraphEdge? other)

other WorkflowGraphEdge?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(WorkflowGraphEdge?, WorkflowGraphEdge?)

Section titled “ operator ==(WorkflowGraphEdge?, WorkflowGraphEdge?)”
public static bool operator ==(WorkflowGraphEdge? left, WorkflowGraphEdge? right)

left WorkflowGraphEdge?

right WorkflowGraphEdge?

bool

operator !=(WorkflowGraphEdge?, WorkflowGraphEdge?)

Section titled “ operator !=(WorkflowGraphEdge?, WorkflowGraphEdge?)”
public static bool operator !=(WorkflowGraphEdge? left, WorkflowGraphEdge? right)

left WorkflowGraphEdge?

right WorkflowGraphEdge?

bool