This version of the module is deprecated: Moved to moonbit-community/diago. Use moonbit-community/diago@0.4.0 or later and update import paths.
Milky2018/diago/diagram does not have a README file
pub struct Config {
sketch : Bool?
theme_id : Int?
dark_theme_id : Int?
theme_overrides : Map[String, String]
dark_theme_overrides : Map[String, String]
pad : Double?
center : Bool?
layout_engine : String?
scale : Double?
no_xml_tag : Bool?
salt : String?
omit_version : Bool?
data : Map[String, String]
}fn Config::from_parts(sketch : Bool?, theme_id : Int?, dark_theme_id : Int?, theme_overrides : Map[String, String], dark_theme_overrides : Map[String, String], pad : Double?, center : Bool?, layout_engine : String?, scale : Double?, no_xml_tag : Bool?, salt : String?, omit_version : Bool?, data : Map[String, String]) -> Configpub struct Connection {
index : Int
src_id : String
dst_id : 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
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?
}impl Show for Connectionpub struct Diagram {
name : String
config : Config?
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?
}pub struct Shape {
id : String
label : String
shape_type : ShapeType
style : StyleInput
box : Box?
label_box : Box?
child_ids : Array[String]
z_index : Int
icon : String?
tooltip : String?
link : String?
classes : 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?
}