Milky2018/diago/diagram does not have a README file
pub struct Config {
sketch : Bool?
theme_id : Int?
dark_theme_id : Int?
theme_overrides : ThemeOverrides?
dark_theme_overrides : ThemeOverrides?
pad : Double?
center : Bool?
layout_engine : String?
scale : Double?
no_xml_tag : Bool?
salt : String?
omit_version : Bool?
data : Map[String, ConfigDataValue]
} derive(Debug)fn Config::from_parts(sketch : Bool?, theme_id : Int?, dark_theme_id : Int?, theme_overrides : ThemeOverrides?, dark_theme_overrides : ThemeOverrides?, pad : Double?, center : Bool?, layout_engine : String?, scale : Double?, no_xml_tag : Bool?, salt : String?, omit_version : Bool?, data : Map[String, ConfigDataValue]) -> Configpub struct Connection {
index : Int
src_id : String
dst_id : String
src_syntax_id : String
dst_syntax_id : String
src_lookup_id : String
dst_lookup_id : String
identity_scope_depth : Int
classes : Array[String]
src_arrow : Bool
dst_arrow : Bool
src_arrowhead : ArrowheadType
dst_arrowhead : ArrowheadType
src_arrowhead_label : String?
dst_arrowhead_label : String?
src_arrowhead_label_color : String?
dst_arrowhead_label_color : String?
src_anchor : String?
dst_anchor : String?
label : String
icon : String?
icon_position : String?
icon_border_radius : Double?
link : String?
style : StyleInput
route : Array[Point]
bend_points : Array[Point]?
is_curve : Bool
z_index : Int
reference_count : Int
label_box : Box?
src_column_index : Int?
dst_column_index : Int?
} derive(Debug)fn Connection::legend_icon(src_id : String, dst_id : String, index : Int, src_arrow : Bool, dst_arrow : Bool, src_arrowhead : ArrowheadType, dst_arrowhead : ArrowheadType, style : StyleInput) -> Connectionpub struct Diagram {
name : String
config : Config?
is_folder_only : Bool
description : String
font_family : String?
mono_font_family : String?
root : Shape
shapes : Array[Shape]
connections : Array[Connection]
activation_boxes : Array[(String, Box)]
sequence_notes : Array[(String, String, Box)]
sequence_fragments : Array[SequenceFragmentLayout]
layers : Array[Diagram]
scenarios : Array[Diagram]
steps : Array[Diagram]
legend : LegendInput?
} derive(Debug)pub struct Shape {
id : String
semantic_id : String
label : String
shape_type : ShapeType
style : StyleInput
box : Box?
label_box : Box?
label_width : Double?
label_height : Double?
child_ids : Array[String]
z_index : Int
icon : String?
icon_position : String?
tooltip : String?
tooltip_position : String?
link : String?
label_position : String?
classes : Array[String]
language : String?
sql_constraints : Array[String]
grid_rows : Int?
grid_columns : Int?
grid_gap : Double?
horizontal_gap : Double?
vertical_gap : Double?
grid_column_span : Int?
grid_row_span : Int?
near : String?
} derive(Debug)fn ThemeOverrides::with_code(self : ThemeOverrides, code : String, value : String) -> ThemeOverridesA diagram toolkit for MoonBit with Dagre, ELK, and Railway layout engines, rendering SVG, ASCII, and Unicode outputs.
Dependencies