Edge

public class Edge : NSObject

Author

Tebin Raouf

The class to link TaskNode objects together

  • The TaskNode instance for each Edge

    Declaration

    Swift

    public var neighbor: TaskNode
  • Initialize an Edge

    Declaration

    Swift

    public init(_ neighbor: TaskNode)

    Parameters

    neighbor

    the TasNode object that is a neighbor to a current task

  • The description of the Edge is the neighbor name

    Declaration

    Swift

    public override var description: String { get }