Ops.level_name: 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 12-25 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=12&end_line=25 import Base import near-v-framework@0.4.0.0/domain/architecture/type.bend as A # ---- one element as a D2 box, in C4's colors: people dark blue, what the view is about blue, # everything around it gray ---- def level_name(l: A.Level) -> String: match l: case A.PersonLevel{}: "Person" case A.SystemLevel{}: "Software System" case A.ContainerLevel{}: "Container" case A.ComponentLevel{}: "Component" case A.ExternalLevel{}: "Software System" Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/type.bend&name=Level