Sign in

    moonrockz/diagrams/bpmn does not have a README file

    AssociationDirection

    pub(all) enum AssociationDirection {
    None
    One
    Both
    } derive(Eq,
    Debug
    )

    AssociationDirection::equal

    AssociationDirection::not_equal

    Bounds

    pub(all) struct Bounds {
    x : Int
    y : Int
    width : Int
    height : Int
    } derive(Eq,
    Debug
    )

    Bounds::equal

    fn Bounds::equal(Bounds, Bounds) -> Bool

    Bounds::not_equal

    fn Bounds::not_equal(x : Bounds, y : Bounds) -> Bool

    Bounds::to_repr

    Bpmn

    pub struct Bpmn {
    id : String
    label : String
    source : SourceIdentity
    kind : ViewKind
    plane : SourceIdentity?
    nodes : ReadOnlyArray[Node]
    flows : ReadOnlyArray[Flow]
    } derive(Eq,
    Debug
    )

    Bpmn::equal

    fn Bpmn::equal(Bpmn, Bpmn) -> Bool

    Bpmn::new

    fn Bpmn::new(id : String, nodes : ArrayView[Node], flows : ArrayView[Flow], label? : String, source? : SourceIdentity, kind? : ViewKind, plane? : SourceIdentity) -> Bpmn

    Bpmn::not_equal

    fn Bpmn::not_equal(x : Bpmn, y : Bpmn) -> Bool

    Bpmn::scope

    fn Bpmn::scope(self : Bpmn, limits? : ScopeLimits) -> ScopeResult

    Pure selected visibility shared by geometry, motion and structural queries. Group membership is visual grouping and never hides a member.

    Bpmn::to_repr

    ConnectionKind

    pub(all) enum ConnectionKind {
    SequenceFlow
    MessageFlow
    Association
    DataInputAssociation
    DataOutputAssociation
    DataAssociation
    } derive(Eq,
    Debug
    )

    ConnectionKind::equal

    ConnectionKind::not_equal

    fn ConnectionKind::not_equal(x : ConnectionKind, y : ConnectionKind) -> Bool

    EdgeGeometry

    pub struct EdgeGeometry {
    identity : SourceIdentity
    points : ReadOnlyArray[ExactPoint]
    label : LabelGeometry?
    source_shape : SourceIdentity?
    target_shape : SourceIdentity?
    message_visible : MessageVisibility?
    } derive(Eq,
    Debug
    )

    EdgeGeometry::equal

    EdgeGeometry::new

    fn EdgeGeometry::new(identity : SourceIdentity, points : ArrayView[ExactPoint], label? : LabelGeometry, source_shape? : SourceIdentity, target_shape? : SourceIdentity, message_visible? : MessageVisibility) -> EdgeGeometry

    EdgeGeometry::not_equal

    fn EdgeGeometry::not_equal(x : EdgeGeometry, y : EdgeGeometry) -> Bool

    EventKind

    pub(all) enum EventKind {
    Message
    Timer
    Conditional
    Link
    Signal
    Error
    Escalation
    Cancel
    Compensation
    Terminate
    } derive(Eq,
    Debug
    )

    EventKind::equal

    fn EventKind::equal(EventKind, EventKind) -> Bool

    EventKind::not_equal

    fn EventKind::not_equal(x : EventKind, y : EventKind) -> Bool

    EventMarker

    pub struct EventMarker {
    kind : EventKind
    identity : SourceIdentity?
    settings : ReadOnlyArray[(String, String)]
    } derive(Eq,
    Debug
    )

    Flattened semantic settings retain source expressions as text. These values describe a symbol; they are never evaluated as execution instructions.

    EventMarker::equal

    fn EventMarker::equal(EventMarker, EventMarker) -> Bool

    EventMarker::new

    fn EventMarker::new(kind : EventKind, identity? : SourceIdentity, settings? : ArrayView[(String, String)]) -> EventMarker

    EventMarker::not_equal

    fn EventMarker::not_equal(x : EventMarker, y : EventMarker) -> Bool

    ExactBounds

    pub struct ExactBounds {
    x : Number
    y : Number
    width : Number
    height : Number
    } derive(Eq,
    Debug
    )

    ExactBounds::equal

    fn ExactBounds::equal(ExactBounds, ExactBounds) -> Bool

    ExactBounds::new

    fn ExactBounds::new(x : Number, y : Number, width : Number, height : Number) -> ExactBounds

    ExactBounds::not_equal

    fn ExactBounds::not_equal(x : ExactBounds, y : ExactBounds) -> Bool

    ExactPoint

    pub struct ExactPoint {
    x : Number
    y : Number
    } derive(Eq,
    Debug
    )

    ExactPoint::equal

    fn ExactPoint::equal(ExactPoint, ExactPoint) -> Bool

    ExactPoint::new

    fn ExactPoint::new(x : Number, y : Number) -> ExactPoint

    ExactPoint::not_equal

    fn ExactPoint::not_equal(x : ExactPoint, y : ExactPoint) -> Bool

    Flow

    pub struct Flow {
    id : String
    identity : SourceIdentity
    kind : ConnectionKind
    source : String
    target : String
    has_source : Bool
    semantic_source : SourceIdentity?
    semantic_target : SourceIdentity
    points : ReadOnlyArray[Point]
    geometry : EdgeGeometry?
    label : String
    condition : String?
    is_default : Bool
    direction : AssociationDirection
    properties : RenderProperties?
    } derive(Eq,
    Debug
    )

    Flow::equal

    fn Flow::equal(Flow, Flow) -> Bool

    Flow::new

    fn Flow::new(id : String, source : String, target : String, points? : ArrayView[Point], identity? : SourceIdentity, kind? : ConnectionKind, has_source? : Bool, semantic_source? : SourceIdentity, semantic_target? : SourceIdentity, geometry? : EdgeGeometry, label? : String, condition? : String, is_default? : Bool, direction? : AssociationDirection, properties? : RenderProperties) -> Flow

    Flow::not_equal

    fn Flow::not_equal(x : Flow, y : Flow) -> Bool

    Flow::to_repr

    Flow::with_properties

    fn Flow::with_properties(self : Flow, properties : RenderProperties) -> Flow

    Font

    pub struct Font {
    name : String?
    size : Number?
    bold : Bool?
    italic : Bool?
    underline : Bool?
    strike_through : Bool?
    } derive(Eq,
    Debug
    )

    Font::equal

    fn Font::equal(Font, Font) -> Bool

    Font::new

    fn Font::new(name? : String, size? : Number, bold? : Bool, italic? : Bool, underline? : Bool, strike_through? : Bool) -> Font

    Font::not_equal

    fn Font::not_equal(x : Font, y : Font) -> Bool

    Font::to_repr

    GeometryPolicy

    pub(all) enum GeometryPolicy {
    PreferDi
    RequireDi
    Automatic
    } derive(Eq,
    Debug
    )

    Use one complete coordinate system for a selected BPMN view.

    GeometryPolicy::equal

    GeometryPolicy::not_equal

    fn GeometryPolicy::not_equal(x : GeometryPolicy, y : GeometryPolicy) -> Bool

    LabelGeometry

    pub struct LabelGeometry {
    bounds : ExactBounds?
    style : SourceIdentity?
    font : Font?
    } derive(Eq,
    Debug
    )

    LabelGeometry::equal

    LabelGeometry::new

    fn LabelGeometry::new(bounds? : ExactBounds, style? : SourceIdentity, font? : Font) -> LabelGeometry

    LabelGeometry::not_equal

    fn LabelGeometry::not_equal(x : LabelGeometry, y : LabelGeometry) -> Bool

    pub struct Link {
    target : String
    } derive(Eq,
    Debug
    )

    Links are explicit caller-supplied metadata. Vendor XML never creates one.

    Link::equal

    fn Link::equal(Link, Link) -> Bool

    Link::new

    fn Link::new(target : String) -> Link

    Link::not_equal

    fn Link::not_equal(x : Link, y : Link) -> Bool

    Link::to_repr

    LoopKind

    pub(all) enum LoopKind {
    None
    Standard
    Sequential
    Parallel
    } derive(Eq,
    Debug
    )

    LoopKind::equal

    fn LoopKind::equal(LoopKind, LoopKind) -> Bool

    LoopKind::not_equal

    fn LoopKind::not_equal(x : LoopKind, y : LoopKind) -> Bool

    LoopKind::to_repr

    Markers

    pub struct Markers {
    loop_kind : LoopKind
    called_kind : NodeKind?
    called_element : SourceIdentity?
    compensation : Bool
    event_subprocess : Bool
    interrupting : Bool
    parallel_multiple : Bool
    collection : Bool
    instantiate : Bool
    events : ReadOnlyArray[EventMarker]
    details : ReadOnlyArray[(String, String)]
    } derive(Eq,
    Debug
    )

    Markers::equal

    fn Markers::equal(Markers, Markers) -> Bool

    Markers::new

    fn Markers::new(loop_kind? : LoopKind, called_kind? : NodeKind, called_element? : SourceIdentity, compensation? : Bool, event_subprocess? : Bool, interrupting? : Bool, parallel_multiple? : Bool, collection? : Bool, instantiate? : Bool, events? : ArrayView[EventMarker], details? : ArrayView[(String, String)]) -> Markers

    Markers::not_equal

    fn Markers::not_equal(x : Markers, y : Markers) -> Bool

    Markers::to_repr

    MessageVisibility

    pub(all) enum MessageVisibility {
    Initiating
    NonInitiating
    } derive(Eq,
    Debug
    )

    MessageVisibility::equal

    MessageVisibility::not_equal

    fn MessageVisibility::not_equal(x : MessageVisibility, y : MessageVisibility) -> Bool

    Node

    pub struct Node {
    id : String
    source : SourceIdentity
    kind : NodeKind
    label : String
    bounds : Bounds
    geometry : ShapeGeometry?
    ownership : Ownership
    markers : Markers
    expanded : Bool?
    black_box : Bool
    properties : RenderProperties?
    } derive(Eq,
    Debug
    )

    Node::equal

    fn Node::equal(Node, Node) -> Bool

    Node::new

    fn Node::new(id : String, kind : NodeKind, bounds? : Bounds, label? : String, source? : SourceIdentity, geometry? : ShapeGeometry, ownership? : Ownership, markers? : Markers, expanded? : Bool, black_box? : Bool, properties? : RenderProperties) -> Node

    Integer bounds remain the thin-slice convenience input. Exact selected DI lives in geometry; absent geometry does not assert a zero-sized source shape.

    Node::not_equal

    fn Node::not_equal(x : Node, y : Node) -> Bool

    Node::to_repr

    Node::with_black_box

    fn Node::with_black_box(self : Node, black_box : Bool) -> Node

    Node::with_ownership

    fn Node::with_ownership(self : Node, ownership : Ownership) -> Node

    Node::with_properties

    fn Node::with_properties(self : Node, properties : RenderProperties) -> Node

    NodeKind

    pub(all) enum NodeKind {
    StartEvent
    EndEvent
    IntermediateCatchEvent
    IntermediateThrowEvent
    BoundaryEvent
    Task
    UserTask
    ServiceTask
    SendTask
    ReceiveTask
    ManualTask
    BusinessRuleTask
    ScriptTask
    SubProcess
    AdHocSubProcess
    Transaction
    CallActivity
    ExclusiveGateway
    InclusiveGateway
    ParallelGateway
    ComplexGateway
    EventBasedGateway
    Participant
    Lane
    DataObject
    DataObjectReference
    DataStore
    DataStoreReference
    DataInput
    DataOutput
    Group
    TextAnnotation
    Message
    } derive(Eq,
    Debug
    )

    Standard process/collaboration graphical kinds. Choreography and conversation remain document values and are explicitly deferred by the adapter.

    NodeKind::equal

    fn NodeKind::equal(NodeKind, NodeKind) -> Bool

    NodeKind::not_equal

    fn NodeKind::not_equal(x : NodeKind, y : NodeKind) -> Bool

    NodeKind::to_repr

    Number

    pub struct Number {
    token : String
    } derive(Eq,
    Debug
    )

    Exact finite XML numeric spelling. Renderers may approximate for measurements but must retain these tokens when drawing supplied geometry.

    Number::equal

    fn Number::equal(Number, Number) -> Bool

    Number::not_equal

    fn Number::not_equal(x : Number, y : Number) -> Bool

    Number::parse

    fn Number::parse(token : String) -> Number?

    Number::to_repr

    Ownership

    pub struct Ownership {
    pool : String?
    lanes : ReadOnlyArray[String]
    subprocess : String?
    attached_to : String?
    groups : ReadOnlyArray[String]
    } derive(Eq,
    Debug
    )

    Ownership::equal

    fn Ownership::equal(Ownership, Ownership) -> Bool

    Ownership::new

    fn Ownership::new(pool? : String, lanes? : ArrayView[String], subprocess? : String, attached_to? : String, groups? : ArrayView[String]) -> Ownership

    Ownership::not_equal

    fn Ownership::not_equal(x : Ownership, y : Ownership) -> Bool

    Point

    pub(all) struct Point {
    x : Int
    y : Int
    } derive(Eq,
    Debug
    )

    Point::equal

    fn Point::equal(Point, Point) -> Bool

    Point::not_equal

    fn Point::not_equal(x : Point, y : Point) -> Bool

    Point::to_repr

    RenderProperties

    pub struct RenderProperties {
    description : String?
    sublabel : String?
    link : Link?
    } derive(Eq,
    Debug
    )

    RenderProperties::equal

    RenderProperties::new

    fn RenderProperties::new(description? : String, sublabel? : String, link? : Link) -> RenderProperties

    RenderProperties::not_equal

    fn RenderProperties::not_equal(x : RenderProperties, y : RenderProperties) -> Bool

    Scope

    pub struct Scope {
    view : Bpmn
    visible : ReadOnlyArray[Bool]
    containers : ReadOnlyArray[Int?]
    work : Int
    // private fields
    }

    Scope::node_index

    fn Scope::node_index(self : Scope, id : String) -> Int?

    ScopeLimits

    pub struct ScopeLimits {
    nodes : Int
    work : Int
    } derive(Eq,
    Debug
    )

    ScopeLimits::equal

    fn ScopeLimits::equal(ScopeLimits, ScopeLimits) -> Bool

    ScopeLimits::new

    fn ScopeLimits::new(nodes? : Int, work? : Int) -> ScopeLimits

    ScopeLimits::not_equal

    fn ScopeLimits::not_equal(x : ScopeLimits, y : ScopeLimits) -> Bool

    ScopeResult

    pub struct ScopeResult {
    scope : Scope?
    diagnostics : ReadOnlyArray[
    Diagnostic
    ]
    }

    ShapeGeometry

    pub struct ShapeGeometry {
    identity : SourceIdentity
    bounds : ExactBounds?
    label : LabelGeometry?
    horizontal : Bool?
    expanded : Bool?
    marker_visible : Bool?
    message_visible : Bool?
    } derive(Eq,
    Debug
    )

    ShapeGeometry::equal

    ShapeGeometry::new

    fn ShapeGeometry::new(identity : SourceIdentity, bounds? : ExactBounds, label? : LabelGeometry, horizontal? : Bool, expanded? : Bool, marker_visible? : Bool, message_visible? : Bool) -> ShapeGeometry

    ShapeGeometry::not_equal

    fn ShapeGeometry::not_equal(x : ShapeGeometry, y : ShapeGeometry) -> Bool

    SourceIdentity

    pub struct SourceIdentity {
    resource_id : String?
    source_id : String?
    path : ReadOnlyArray[Int]
    } derive(Eq,
    Debug
    )

    The source identity is independent of the per-view render ID. Paths contain source-order child indices and survive absence of an XML ID.

    SourceIdentity::equal

    SourceIdentity::new

    fn SourceIdentity::new(source_id? : String, resource_id? : String, path? : ArrayView[Int]) -> SourceIdentity

    SourceIdentity::not_equal

    fn SourceIdentity::not_equal(x : SourceIdentity, y : SourceIdentity) -> Bool

    ViewKind

    pub(all) enum ViewKind {
    Process
    Collaboration
    } derive(Eq,
    Debug
    )

    ViewKind::equal

    fn ViewKind::equal(ViewKind, ViewKind) -> Bool

    ViewKind::not_equal

    fn ViewKind::not_equal(x : ViewKind, y : ViewKind) -> Bool

    ViewKind::to_repr