Ops.node_lines: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/view/ops.bend as Ops Lines 257-265 of near-v-framework@0.4.0.0/domain/architecture/view/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&start_line=257&end_line=265 import Base import near-v-framework@0.4.0.0/general/rose/type.bend as R import near-v-framework@0.4.0.0/domain/architecture/type.bend as A import near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend as D def node_lines(ns: List<&2, D.Node>, +prefix: String, +rs: List<&2, R.Rose>) -> String: match ns: case []: "" case n <> rest: match n: case D.Node{+k, name, +t, _, _, _, kids, ins}: prefix ++ "d_" ++ k ++ ": \"" ++ name ++ "\\n" ++ node_kind(t) ++ "\" {style.fill: \"#FFFFFF\"; style.stroke: \"#888888\"; style.font-color: \"#000000\"}\n" ++ instance_boxes(ins, prefix ++ "d_" ++ k ++ ".", rs) ++ node_lines(kids, prefix ++ "d_" ++ k ++ ".", rs) ++ node_lines(rest, prefix, rs) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/type.bend&name=Node https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/type.bend&name=Element https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&name=instance_boxes https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/view/ops.bend&name=node_kind https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/general/rose/type.bend&name=Rose