Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

Edge_Direction

mattt edited this page Mar 30, 2020 · 9 revisions

Edge.Direction

public enum Direction

Inheritance

Hashable, String

Nested Types

Edge.Direction.Edge.Arrow

Initializers

init(from:to:direction:)

public init(from: Node.ID, to: Node.ID, direction: Direction? = nil)

init(from:to:direction:)

public init(from: Node, to: Node, direction: Direction? = nil)

Properties

direction

var direction: Direction?

Sets the edge type for drawing arrowheads (not for ranking purposes).

attributes

var attributes: Attributes = .init()
Clone this wiki locally