CompositeLinkArray

open class CompositeLinkArray : Sequence

A collection of all incoming and outgoing links of a node.

  • Initializes a new instance of the CompositeLinkArray, which contains the links for the specified node.

    Declaration

    Swift

    public init(node: DiagramNode)

    Parameters

    node

    The DiagramNode for which the links are generated.

    Return Value

    A new instance of the CompositeLinkArray class.

  • Gets the count of all DiagramLink objects.

    Declaration

    Swift

    open var count: Int { get }
  • Generates the array with all incoming and outgoing links of a node.

    Declaration

    Swift

    open func makeIterator() -> AnyIterator<DiagramLink>

    Return Value

    an array with the links.