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 27, 2020 · 9 revisions

Edge.Direction

public enum Direction

Inheritance

Hashable, String

Nested Types

Edge.Direction.Edge.Arrow

Enumeration Cases

backward

case backward

both

case both

forward

case forward

none

case none

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

attributes

var attributes: Attributes = .init()

direction

var direction: Direction?

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

Clone this wiki locally