moonrockz/diagrams/bpmn does not have a README file

    AssociationDirection

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

    AssociationDirection::equal

    automatically derived

    AssociationDirection::not_equal

    automatically derived

    AssociationDirection::to_repr

    automatically derived

    Bounds

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

    Bounds::equal

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

    Bounds::not_equal

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

    Bounds::to_repr

    automatically derived

    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
    automatically derived

    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
    automatically derived

    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

    automatically derived

    Bpmn::with_flows

    fn Bpmn::with_flows(self : Bpmn, flows : ArrayView[Flow]) -> Bpmn

    A copy with flows replaced.

    Bpmn::with_nodes

    fn Bpmn::with_nodes(self : Bpmn, nodes : ArrayView[Node]) -> Bpmn

    A copy with nodes replaced.

    ConnectionKind

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

    ConnectionKind::equal

    automatically derived

    ConnectionKind::not_equal

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

    ConnectionKind::to_repr

    automatically derived

    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

    automatically derived

    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
    automatically derived

    EdgeGeometry::to_repr

    automatically derived

    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
    automatically derived

    EventKind::not_equal

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

    EventKind::to_repr

    automatically derived

    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
    automatically derived

    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
    automatically derived

    EventMarker::to_repr

    automatically derived

    ExactBounds

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

    ExactBounds::equal

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

    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
    automatically derived

    ExactBounds::to_repr

    automatically derived

    ExactPoint

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

    ExactPoint::equal

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

    ExactPoint::new

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

    ExactPoint::not_equal

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

    ExactPoint::to_repr

    automatically derived

    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
    automatically derived

    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
    automatically derived

    Flow::to_repr

    automatically derived

    Flow::with_label

    fn Flow::with_label(self : Flow, label : String) -> Flow

    A copy with label replaced.

    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
    automatically derived

    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
    automatically derived

    Font::to_repr

    automatically derived

    GeometryPolicy

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

    Use one complete coordinate system for a selected BPMN view.

    GeometryPolicy::equal

    automatically derived

    GeometryPolicy::not_equal

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

    GeometryPolicy::to_repr

    automatically derived

    LabelGeometry

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

    LabelGeometry::equal

    automatically derived

    LabelGeometry::new

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

    LabelGeometry::not_equal

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

    LabelGeometry::to_repr

    automatically derived
    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
    automatically derived

    Link::new

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

    Link::not_equal

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

    Link::to_repr

    automatically derived

    LoopKind

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

    LoopKind::equal

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

    LoopKind::not_equal

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

    LoopKind::to_repr

    automatically derived

    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
    automatically derived

    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
    automatically derived

    Markers::to_repr

    automatically derived

    MessageVisibility

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

    MessageVisibility::equal

    automatically derived

    MessageVisibility::not_equal

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

    MessageVisibility::to_repr

    automatically derived

    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
    automatically derived

    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
    automatically derived

    Node::to_repr

    automatically derived

    Node::with_black_box

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

    Node::with_expanded

    fn Node::with_expanded(self : Node, expanded : Bool?) -> Node

    A copy with expanded replaced.

    Node::with_label

    fn Node::with_label(self : Node, label : String) -> Node

    A copy with label replaced.

    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
    automatically derived

    NodeKind::not_equal

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

    NodeKind::to_repr

    automatically derived

    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
    automatically derived

    Number::not_equal

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

    Number::parse

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

    Number::to_repr

    automatically derived

    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
    automatically derived

    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
    automatically derived

    Ownership::to_repr

    automatically derived

    Point

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

    Point::equal

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

    Point::not_equal

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

    Point::to_repr

    automatically derived

    RenderProperties

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

    RenderProperties::equal

    automatically derived

    RenderProperties::new

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

    RenderProperties::not_equal

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

    RenderProperties::to_repr

    automatically derived

    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
    automatically derived

    ScopeLimits::new

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

    ScopeLimits::not_equal

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

    ScopeLimits::to_repr

    automatically derived

    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

    automatically derived

    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
    automatically derived

    ShapeGeometry::to_repr

    automatically derived

    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

    automatically derived

    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
    automatically derived

    SourceIdentity::to_repr

    automatically derived

    ViewKind

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

    ViewKind::equal

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

    ViewKind::not_equal

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

    ViewKind::to_repr

    automatically derived