Sign in

    moonrockz/diagrams-plantuml/activity does not have a README file

    Conversion

    pub struct Conversion {
    flowchart :
    Flowchart
    ?
    diagnostics : ReadOnlyArray[
    Diagnostic
    ]
    }

    Dialect

    pub(all) enum Dialect {
    Modern
    Legacy
    } derive(Eq,
    Debug
    )

    The native PlantUML activity grammar selected by the document.

    Dialect::equal

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

    Dialect::not_equal

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

    Dialect::to_repr

    Document

    pub struct Document {
    dialect : Dialect
    name : String?
    statements : ReadOnlyArray[
    Statement
    ]
    items : ReadOnlyArray[Statement]
    } derive(Eq,
    Debug
    )

    Document::equal

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

    Document::logical_equal

    fn Document::logical_equal(self : Document, other : Document) -> Bool

    Document::new

    Document::not_equal

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

    Document::to_repr

    Document::without_spans

    fn Document::without_spans(self : Document) -> Document

    Endpoint

    pub(all) enum Endpoint {
    Start(Bool)
    Final
    Action(String, String?, String)
    Alias(String)
    Synchronization(String)
    } derive(Eq,
    Debug
    )

    Endpoint::equal

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

    Endpoint::not_equal

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

    Endpoint::to_repr

    Kind

    pub(all) enum Kind {
    Action(String, String, String)
    Start
    Stop
    End
    If(String, String)
    ElseIf(String, String)
    ElseIfIncoming(String, String, String)
    Else(String)
    EndIf
    Switch(String)
    Case(String)
    EndSwitch
    While(String, String)
    EndWhile(String)
    Repeat(String)
    RepeatWhile(String, String, String)
    Backward(String)
    Break
    Fork
    ForkAgain
    EndFork(Bool, String)
    Split
    SplitAgain
    EndSplit
    Kill
    Detach
    Connector(String)
    Label(String)
    Goto(String)
    Group(String, String, String, String)
    EndGroup
    Lane(String, String, String)
    Note(String, String, String?, String)
    NoteOnLink(String, String)
    Arrow(String, String)
    Edge(Endpoint?, String, Endpoint, String)
    LegacyIf(String)
    LegacyDecision(Endpoint?, String, String, String)
    ActionList(String, Int)
    Presentation(String)
    } derive(Eq,
    Debug
    )

    Typed statements retain control structure and editable values. The sequence is flat: opening and closing statements retain their native source order.

    Kind::equal

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

    Kind::not_equal

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

    Kind::to_repr

    ReadResult

    pub struct ReadResult {
    nodes : ReadOnlyArray[
    Node
    ]
    document : Document?
    diagnostics : ReadOnlyArray[
    Diagnostic
    ]
    }

    Statement

    pub struct Statement {
    kind : Kind
    span :
    Span
    ?
    } derive(Eq,
    Debug
    )

    Statement::equal

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

    Statement::new

    Statement::not_equal

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

    diagnostic_codes

    let diagnostic_codes : ReadOnlyArray[String]

    fn print_body(document : Document, limits? :
    Limits
    ) -> Result[String, ReadOnlyArray[
    Diagnostic
    ]]

    Write the body from typed values. Invalid delimiters cannot be represented safely and return a finding rather than stale source.

    read

    Read the activity lines of an already scanned envelope. dialect is required for body-only calls; full blocks can select it from statements.

    to_flowchart

    fn to_flowchart(document : Document, id? : String, limits? :
    Limits
    ) -> Conversion

    Convert native syntax to explicit structural topology. Expressions remain descriptive; pending continuation sets never execute source conditions.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io