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

    Connection

    Connection::equal

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

    Connection::not_equal

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

    Geometry

    pub struct Geometry {
    view :
    StateDiagram

    shapes : ReadOnlyArray[
    Shape
    ]
    connections : ReadOnlyArray[Connection]
    width : Int
    height : Int
    boundaries : ReadOnlyArray[(String, String)]
    // private fields
    } derive(Eq,
    Debug
    )

    Geometry::drawing_result

    Geometry::equal

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

    Geometry::not_equal

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

    Geometry::separators

    fn Geometry::separators(self : Geometry) -> ReadOnlyArray[RegionSeparator]

    The actual drawn compartment lines, independent of source transitions.

    Geometry::to_repr

    Limits

    pub struct Limits {
    nodes : Int
    edges : Int
    depth : Int
    work : Int
    output_units : Int
    width : Int
    height : 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, output_units? : Int, width? : Int, height? : 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

    RegionSeparator

    RegionSeparator::equal

    RegionSeparator::not_equal

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

    Result

    pub struct Result {
    geometry : Geometry?
    diagnostics : ReadOnlyArray[
    Diagnostic
    ]
    } derive(Eq,
    Debug
    )

    Result::equal

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

    Result::not_equal

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

    Result::to_repr

    check

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

    layout

    Region containers are drawing groups only. They never create graph edges.

    Source Files