Sign in

    moonrockz/diagrams-svg/architecture-layout does not have a README file

    Connection

    pub(all) struct Connection {
    connection :
    Connection

    points : ReadOnlyArray[Point]
    label_box : Rect?
    } derive(Eq,
    Debug
    )

    Connection::equal

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

    Connection::not_equal

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

    Finding

    pub struct Finding {
    code : String
    message : String
    element : String
    } derive(Eq,
    Debug
    )

    Finding::equal

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

    Finding::not_equal

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

    Finding::to_repr

    Geometry

    pub(all) struct Geometry {
    model :
    Architecture

    shapes : ReadOnlyArray[Shape]
    connections : ReadOnlyArray[Connection]
    width : Int
    height : Int
    } derive(Eq,
    Debug
    )

    Geometry::equal

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

    Geometry::not_equal

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

    Geometry::to_repr

    Kind

    pub(all) enum Kind {
    Group
    Service
    Junction
    } derive(Eq,
    Debug
    )

    Kind::equal

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

    Kind::not_equal

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

    Kind::to_repr

    LayoutResult

    pub(all) struct LayoutResult {
    geometry : Geometry?
    diagnostics : ReadOnlyArray[
    Diagnostic
    ]
    }

    Limits

    pub struct Limits {
    nodes : Int
    edges : Int
    depth : Int
    work : Int
    coordinate : Int
    output_units : Int
    minimum_approach : Double
    } derive(Eq,
    Debug
    )

    Limits::equal

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

    Limits::new

    fn Limits::new(nodes? : Int, edges? : Int, depth? : Int, work? : Int, coordinate? : Int, output_units? : Int, minimum_approach? : Double) -> Limits

    Limits::not_equal

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

    Limits::to_repr

    Limits::with_minimum_approach

    fn Limits::with_minimum_approach(self : Limits, minimum_approach : Double) -> Limits

    Retain resource limits while selecting the marked terminal reservation.

    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

    Rect

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

    Rect::contains

    fn Rect::contains(self : Rect, other : Rect) -> Bool

    Rect::equal

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

    Rect::not_equal

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

    Rect::overlaps

    fn Rect::overlaps(self : Rect, other : Rect) -> Bool

    Rect::to_repr

    Shape

    pub(all) struct Shape {
    id : String
    kind : Kind
    box : Rect
    label : String
    parent : String?
    font_size : Int
    header_height : Int
    } derive(Eq,
    Debug
    )

    Shape::equal

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

    Shape::not_equal

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

    Shape::to_repr

    check

    fn check(geometry : Geometry, palette? :
    Palette
    , work_limit? : Int) -> ReadOnlyArray[Finding]

    measure

    fn measure(text : String, size? : Int) -> Int

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io