Sign in

    moonrockz/diagrams/swimlane does not have a README file

    Connection

    pub struct Connection {
    id : String
    source : String
    target : String
    label : String
    label_kind : LabelKind
    style : LineStyle
    source_marker : Marker
    target_marker : Marker
    min_length : Int
    direction : FlowDirection
    } derive(Eq,
    Debug
    )

    Connection::equal

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

    Connection::new

    fn Connection::new(id : String, source : String, target : String, label? : String, label_kind? : LabelKind, style? : LineStyle, source_marker? : Marker, target_marker? : Marker, min_length? : Int) -> Connection

    Connection::not_equal

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

    Direction

    pub(all) enum Direction {
    TB
    BT
    LR
    RL
    } derive(Eq,
    Debug
    )

    Direction::equal

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

    Direction::not_equal

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

    FlowDirection

    pub(all) enum FlowDirection {
    Forward
    Backward
    Both
    Undirected
    Invisible
    } derive(Eq,
    Debug
    )

    FlowDirection::equal

    FlowDirection::not_equal

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

    Group

    pub struct Group {
    id : String
    label : String
    parent : String?
    lane : String?
    direction : Direction?
    expanded : Bool
    } derive(Eq,
    Debug
    )

    Group::equal

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

    Group::new

    fn Group::new(id : String, label? : String, parent? : String, lane? : String, direction? : Direction, expanded? : Bool) -> Group

    Group::not_equal

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

    Group::to_repr

    LabelKind

    pub(all) enum LabelKind {
    Text
    Markdown
    Html
    } derive(Eq,
    Debug
    )

    LabelKind::equal

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

    LabelKind::not_equal

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

    Lane

    pub struct Lane {
    id : String
    label : String
    direction : Direction?
    expanded : Bool
    } derive(Eq,
    Debug
    )

    Lane::equal

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

    Lane::new

    fn Lane::new(id : String, label? : String, direction? : Direction, expanded? : Bool) -> Lane

    Lane::not_equal

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

    Lane::to_repr

    LineStyle

    pub(all) enum LineStyle {
    Solid
    Dotted
    Thick
    Invisible
    } derive(Eq,
    Debug
    )

    LineStyle::equal

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

    LineStyle::not_equal

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

    Marker

    pub(all) enum Marker {
    None
    Arrow
    Circle
    Cross
    } derive(Eq,
    Debug
    )

    Marker::equal

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

    Marker::not_equal

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

    Marker::to_repr

    Node

    pub struct Node {
    id : String
    label : String
    label_kind : LabelKind
    shape : String
    metadata : ReadOnlyArray[(String, String)]
    lane : String?
    groups : ReadOnlyArray[String]
    properties : RenderProperties?
    } derive(Eq,
    Debug
    )

    Node::equal

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

    Node::new

    fn Node::new(id : String, label? : String, label_kind? : LabelKind, shape? : String, metadata? : ArrayView[(String, String)], lane? : String, groups? : ArrayView[String], properties? : RenderProperties) -> Node

    Node::not_equal

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

    Node::to_repr

    RenderProperties

    pub struct RenderProperties {
    link : String?
    metadata : ReadOnlyArray[(String, String)]
    } derive(Eq,
    Debug
    )

    RenderProperties::equal

    RenderProperties::new

    fn RenderProperties::new(link? : String, metadata? : ArrayView[(String, String)]) -> RenderProperties

    RenderProperties::not_equal

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

    Swimlane

    pub struct Swimlane {
    id : String
    direction : Direction
    lanes : ReadOnlyArray[Lane]
    groups : ReadOnlyArray[Group]
    nodes : ReadOnlyArray[Node]
    connections : ReadOnlyArray[Connection]
    title : String?
    accessibility_title : String?
    accessibility_description : String?
    } derive(Eq,
    Debug
    )

    Swimlane::equal

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

    Swimlane::new

    fn Swimlane::new(id : String, nodes : ArrayView[Node], connections : ArrayView[Connection], direction? : Direction, lanes? : ArrayView[Lane], groups? : ArrayView[Group], title? : String, accessibility_title? : String, accessibility_description? : String) -> Swimlane

    Swimlane::not_equal

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

    Swimlane::to_repr

    built_in_shapes

    let built_in_shapes : ReadOnlyArray[String]

    canonical_shape

    fn canonical_shape(value : String) -> String

    diagnostic_codes

    let diagnostic_codes : ReadOnlyArray[String]

    direction

    fn direction(value : String) -> Direction?

    validate

    fn validate(model : Swimlane, nodes_limit? : Int, edges_limit? : Int, depth_limit? : Int, work_limit? : Int) -> ReadOnlyArray[
    Diagnostic
    ]

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io