Milky2018/diago/graph does not have a README file
impl Show for ArrowheadTypepub struct EdgeInput {
index : Int
src_id : String
dst_id : String
src_id_syntax : String
dst_id_syntax : String
references : Array[EdgeReference]
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 EdgeInput::from_parts(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?, src_id_syntax? : String, dst_id_syntax? : String, references? : Array[EdgeReference], icon? : String?, icon_position? : String?, icon_border_radius? : Double?, link? : String?, classes? : Array[String]) -> EdgeInputpub struct EdgeModel {
index : Int
src_id : String
dst_id : String
src_id_syntax : String
dst_id_syntax : String
references : Array[EdgeReference]
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 : StyleModel
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 EdgeReference::new(range : Range, edge_index : Int, scope_abs_id_syntax : String?, source_path : String?, primary : Bool, due_to_glob : Bool, due_to_lazy_glob : Bool) -> EdgeReferencepub struct GraphInput {
name : String
root : ObjectInput
objects : Array[ObjectInput]
edges : Array[EdgeInput]
sequence_fragments : Array[SequenceFragmentInput]
activation_boxes : Array[(String, Box)]
sequence_notes : Array[(String, String, Box)]
sequence_fragments_layout : Array[SequenceFragmentLayout]
layers : Array[LayerInput]
scenarios : Array[ScenarioInput]
steps : Array[StepInput]
legend : LegendInput?
is_folder_only : Bool
data : Map[String, GraphDataValue]
} derive(Debug)fn GraphInput::from_parts(name : String, root : ObjectInput, objects : Array[ObjectInput], edges : Array[EdgeInput], sequence_fragments : Array[SequenceFragmentInput], activation_boxes : Array[(String, Box)], sequence_notes : Array[(String, String, Box)], sequence_fragments_layout : Array[SequenceFragmentLayout], layers : Array[LayerInput], scenarios : Array[ScenarioInput], steps : Array[StepInput], legend : LegendInput?, is_folder_only? : Bool, data? : Map[String, GraphDataValue]) -> GraphInputpub struct GraphModel {
name : String
root : ObjectModel
objects : Array[ObjectModel]
edges : Array[EdgeModel]
activation_boxes : Array[(String, Box)]
sequence_notes : Array[(String, String, Box)]
sequence_fragments : Array[SequenceFragmentModel]
layers : Array[LayerModel]
scenarios : Array[ScenarioModel]
steps : Array[StepModel]
legend : LegendModel?
is_folder_only : Bool
data : Map[String, GraphDataValue]
} derive(Debug)pub struct LayoutPatch {
nodes : Map[String, Box]
node_labels : Map[String, Box]
edges : Map[Int, Array[Point]]
edge_bend_points : Map[Int, Array[Point]]
edge_curves : Map[Int, Bool]
edge_labels : Map[Int, Box]
activation_boxes : Array[(String, Box)]
sequence_notes : Array[(String, String, Box)]
sequence_fragments : Array[SequenceFragmentLayout]
} derive(Debug)pub struct Legend {
title : String?
position : LegendPosition
entries : Array[LegendEntry]
fill : String?
stroke : String?
padding : Double
entry_gap : Double
icon_size : Double
} derive(Debug)fn Legend::add_connection(self : Legend, src_arrow : ArrowheadType, dst_arrow : ArrowheadType, label : String) -> Unitpub(all) enum LegendEntry {
ShapeEntry(id~ : String, shape~ : ShapeType, label~ : String, style~ : StyleInput?)
ConnectionEntry(src_id~ : String, dst_id~ : String, index~ : Int, src_arrow_enabled~ : Bool, dst_arrow_enabled~ : Bool, src_arrow~ : ArrowheadType, dst_arrow~ : ArrowheadType, label~ : String, style~ : StyleInput?)
CustomEntry(icon~ : String, label~ : String)
Separator
} derive(Debug)fn LegendEntry::connection(src_arrow : ArrowheadType, dst_arrow : ArrowheadType, label : String, style : StyleInput?, src_id? : String, dst_id? : String, index? : Int, src_arrow_enabled? : Bool, dst_arrow_enabled? : Bool) -> LegendEntryfn LegendEntry::shape(shape : ShapeType, label : String, style : StyleInput?, id? : String) -> LegendEntrypub enum LegendEntryInput {
ShapeEntry(id~ : String, shape~ : ShapeType, label~ : String, style~ : StyleInput?)
ConnectionEntry(src_id~ : String, dst_id~ : String, index~ : Int, src_arrow_enabled~ : Bool, dst_arrow_enabled~ : Bool, src_arrow~ : ArrowheadType, dst_arrow~ : ArrowheadType, label~ : String, style~ : StyleInput?)
CustomEntry(icon~ : String, label~ : String)
Separator
} derive(Debug)fn LegendEntryInput::connection(src_arrow : ArrowheadType, dst_arrow : ArrowheadType, label : String, style : StyleInput?, src_id? : String, dst_id? : String, index? : Int, src_arrow_enabled? : Bool, dst_arrow_enabled? : Bool) -> LegendEntryInputfn LegendEntryInput::shape(shape : ShapeType, label : String, style : StyleInput?, id? : String) -> LegendEntryInputpub struct LegendInput {
title : String?
position : LegendPosition
entries : Array[LegendEntryInput]
fill : String?
stroke : String?
padding : Double
entry_gap : Double
icon_size : Double
} derive(Debug)fn LegendInput::from_parts(title : String?, position : LegendPosition, entries : Array[LegendEntryInput], fill : String?, stroke : String?, padding : Double, entry_gap : Double, icon_size : Double) -> LegendInputpub struct LegendModel {
title : String?
position : LegendPosition
entries : Array[LegendEntryInput]
fill : String?
stroke : String?
padding : Double
entry_gap : Double
icon_size : Double
} derive(Debug)pub struct ObjectInput {
id : String
id_val : String
id_syntax : String
abs_id_syntax : String
references : Array[ObjectReference]
label : String
shape_type : ShapeType
style : StyleInput
box : Box?
label_box : Box?
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_row_directed : Bool?
grid_gap : Double?
horizontal_gap : Double?
vertical_gap : Double?
grid_column_span : Int?
grid_row_span : Int?
near : String?
top : Int?
left : Int?
direction : String?
} derive(Debug)fn ObjectInput::from_parts(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?, top : Int?, left : Int?, direction? : String?, language? : String?, sql_constraints? : Array[String], id_val? : String, id_syntax? : String, abs_id_syntax? : String, references? : Array[ObjectReference], icon_position? : String?, tooltip_position? : String?, label_position? : String?, grid_row_directed? : Bool?) -> ObjectInputfn ObjectInput::new(id : String, id_val? : String, id_syntax? : String, abs_id_syntax? : String) -> ObjectInputpub struct ObjectModel {
id : String
id_val : String
id_syntax : String
abs_id_syntax : String
references : Array[ObjectReference]
label : String
shape_type : ShapeType
style : StyleModel
box : Box?
label_box : Box?
children : Array[ObjectModel]
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?
top : Int?
left : Int?
direction : String?
} derive(Debug)fn ObjectModel::new(id : String, id_val? : String, id_syntax? : String, abs_id_syntax? : String) -> ObjectModelfn ObjectReference::new(range : Range, key_path_index : Int, in_edge : Bool, scope_abs_id_syntax : String?, source_path : String?, primary : Bool, due_to_glob : Bool, due_to_lazy_glob : Bool) -> ObjectReferencepub struct Route {
style : RouteStyle
waypoints : Array[Waypoint]
src_arrowhead : ArrowheadType
dst_arrowhead : ArrowheadType
} derive(Debug)fn Route::from_points(points : Array[Point], style : RouteStyle, src : ArrowheadType, dst : ArrowheadType) -> Routepub struct SequenceFragmentInput {
fragment_type : String
condition : String?
start_index : Int
end_index : Int
operands : Array[FragmentOperandInput]
} derive(Debug)fn SequenceFragmentInput::new(fragment_type : String, condition : String?, start_index : Int, end_index : Int, operands : Array[FragmentOperandInput]) -> SequenceFragmentInputpub struct SequenceFragmentLayout {
fragment_type : String
condition : String?
bbox : Box?
start_index : Int
end_index : Int
operands : Array[FragmentOperandLayout]
} derive(Debug)fn SequenceFragmentLayout::new(fragment_type : String, condition : String?, bbox : Box?, start_index : Int, end_index : Int, operands : Array[FragmentOperandLayout]) -> SequenceFragmentLayoutpub struct SequenceFragmentModel {
fragment_type : String
condition : String?
bbox : Box?
start_index : Int
end_index : Int
operands : Array[FragmentOperandModel]
} derive(Debug)fn SequenceFragmentModel::new(fragment_type : String, start_index : Int, end_index : Int) -> SequenceFragmentModelpub struct StyleInput {
opacity : StyleValue?
stroke : StyleValue?
fill : StyleValue?
stroke_width : StyleValue?
stroke_dash : StyleValue?
border_radius : StyleValue?
shadow : StyleValue?
three_d : StyleValue?
multiple : StyleValue?
font : StyleValue?
font_size : StyleValue?
font_color : StyleValue?
bold : StyleValue?
italic : StyleValue?
underline : StyleValue?
animated : StyleValue?
filled : StyleValue?
double_border : StyleValue?
text_transform : StyleValue?
font_family : StyleValue?
fill_pattern : StyleValue?
sketch : StyleValue?
curved : StyleValue?
} derive(Eq, Debug)fn StyleInput::from_parts(opacity : StyleValue?, stroke : StyleValue?, fill : StyleValue?, stroke_width : StyleValue?, stroke_dash : StyleValue?, border_radius : StyleValue?, shadow : StyleValue?, three_d : StyleValue?, multiple : StyleValue?, font : StyleValue?, font_size : StyleValue?, font_color : StyleValue?, bold : StyleValue?, italic : StyleValue?, underline : StyleValue?, animated : StyleValue?, filled : StyleValue?, double_border : StyleValue?, text_transform : StyleValue?, font_family : StyleValue?, fill_pattern : StyleValue?, sketch : StyleValue?, curved : StyleValue?) -> StyleInputpub struct StyleModel {
opacity : StyleValue?
stroke : StyleValue?
fill : StyleValue?
stroke_width : StyleValue?
stroke_dash : StyleValue?
border_radius : StyleValue?
shadow : StyleValue?
three_d : StyleValue?
multiple : StyleValue?
font : StyleValue?
font_size : StyleValue?
font_color : StyleValue?
bold : StyleValue?
italic : StyleValue?
underline : StyleValue?
animated : StyleValue?
filled : StyleValue?
double_border : StyleValue?
text_transform : StyleValue?
font_family : StyleValue?
fill_pattern : StyleValue?
sketch : StyleValue?
curved : StyleValue?
} derive(Eq, Debug)A diagram toolkit for MoonBit with Dagre, ELK, and Railway layout engines, rendering SVG, ASCII, and Unicode outputs.
Dependencies