moonrockz/diagrams/bpmn does not have a README file
pub struct Bpmn {
id : String
label : String
source : SourceIdentity
kind : ViewKind
plane : SourceIdentity?
nodes : ReadOnlyArray[Node]
flows : ReadOnlyArray[Flow]
} derive(Eq, Debug)fn Bpmn::new(id : String, nodes : ArrayView[Node], flows : ArrayView[Flow], label? : String, source? : SourceIdentity, kind? : ViewKind, plane? : SourceIdentity) -> Bpmnpub struct EdgeGeometry {
identity : SourceIdentity
points : ReadOnlyArray[ExactPoint]
label : LabelGeometry?
source_shape : SourceIdentity?
target_shape : SourceIdentity?
message_visible : MessageVisibility?
} derive(Eq, Debug)fn EdgeGeometry::new(identity : SourceIdentity, points : ArrayView[ExactPoint], label? : LabelGeometry, source_shape? : SourceIdentity, target_shape? : SourceIdentity, message_visible? : MessageVisibility) -> EdgeGeometrypub struct EventMarker {
kind : EventKind
identity : SourceIdentity?
settings : ReadOnlyArray[(String, String)]
} derive(Eq, Debug)fn EventMarker::new(kind : EventKind, identity? : SourceIdentity, settings? : ArrayView[(String, String)]) -> EventMarkerpub 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)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) -> Flowpub struct LabelGeometry {
bounds : ExactBounds?
style : SourceIdentity?
font : Font?
} derive(Eq, Debug)fn LabelGeometry::new(bounds? : ExactBounds, style? : SourceIdentity, font? : Font) -> LabelGeometrypub 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)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)]) -> Markerspub 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)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) -> Nodepub(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)fn RenderProperties::new(description? : String, sublabel? : String, link? : Link) -> RenderPropertiespub struct Scope {
view : Bpmn
visible : ReadOnlyArray[Bool]
containers : ReadOnlyArray[Int?]
work : Int
// private fields
}pub struct ShapeGeometry {
identity : SourceIdentity
bounds : ExactBounds?
label : LabelGeometry?
horizontal : Bool?
expanded : Bool?
marker_visible : Bool?
message_visible : Bool?
} derive(Eq, Debug)fn ShapeGeometry::new(identity : SourceIdentity, bounds? : ExactBounds, label? : LabelGeometry, horizontal? : Bool, expanded? : Bool, marker_visible? : Bool, message_visible? : Bool) -> ShapeGeometryfn SourceIdentity::new(source_id? : String, resource_id? : String, path? : ArrayView[Int]) -> SourceIdentity