Interface IFlowGraphEdgeData

    • Method Detail

      • getType

        long getType()
        The type of this edge, i.e. the circumstances when flow is transferred from the source to the target node. See FlowGraphConnectionType for a list of types and their exact definition. The value returned by this method may be a bitwise-or combination of multiple flags from FlowGraphConnectionType.

        See FlowGraphConnectionType, which also includes several methods for querying the edge type.

        Returns:
        Bit flags with the type of this edge.
        See Also:
        FlowGraphConnectionType
      • getOwners

        @Nonnull
        Set<NodeKey> getOwners()
        The nodes which own this edge, if any. The owner of an edge is the node which was responsible for adding the edge to the flow graph. For example: a sequence node adds edges between consecutive children; or a while-loop node adds an edge to the loop body, and an edge from the end of the loop boddy back to the beginning of the loop body.
        Returns:
        A set of all owners of this edge, never null but may be empty.