SysProM
    Preparing search index...

    Function isValidEndpointPair

    • Check if a relationship type is valid for the given endpoint node types.

      Parameters

      • relType:
            | "refines"
            | "realises"
            | "implements"
            | "depends_on"
            | "constrained_by"
            | "affects"
            | "supersedes"
            | "must_preserve"
            | "performs"
            | "part_of"
            | "precedes"
            | "must_follow"
            | "blocks"
            | "routes_to"
            | "governed_by"
            | "modifies"
            | "triggered_by"
            | "applies_to"
            | "produces"
            | "consumes"
            | "transforms_into"
            | "selects"
            | "requires"
            | "disables"
            | "influence"

        The relationship type

      • fromType:
            | "intent"
            | "concept"
            | "capability"
            | "element"
            | "realisation"
            | "invariant"
            | "principle"
            | "policy"
            | "protocol"
            | "stage"
            | "role"
            | "gate"
            | "mode"
            | "artefact"
            | "artefact_flow"
            | "decision"
            | "change"
            | "view"
            | "milestone"
            | "version"

        The source node type

      • toType:
            | "intent"
            | "concept"
            | "capability"
            | "element"
            | "realisation"
            | "invariant"
            | "principle"
            | "policy"
            | "protocol"
            | "stage"
            | "role"
            | "gate"
            | "mode"
            | "artefact"
            | "artefact_flow"
            | "decision"
            | "change"
            | "view"
            | "milestone"
            | "version"

        The target node type

      Returns boolean

      true if the endpoint types are valid for this relationship

      isValidEndpointPair("refines", "intent", "concept") // true