Edge
public struct Edge : Sendable
extension DirectedGraph.Edge: Equatable where Label: Equatable
extension DirectedGraph.Edge: Comparable where Vertex: Comparable, Label: Comparable
An edge between two vertices.
-
The vertex at the base of the edge.
Declaration
Swift
public let source: Vertex -
The label of the vertex.
Declaration
Swift
public let label: Label -
The vertex at the tip of the edge.
Declaration
Swift
public let target: Vertex
-
Declaration
Swift
public static func < (l: `Self`, r: `Self`) -> Bool
View on GitHub