Skip to content
diagrams.mbt
DocsArticlesGalleryAPIGitHub

Gallery / YAML

Service configuration tree

Family: YAML. Status: Implemented.

PlantUML YAML with flow and block values and lists of maps.

Scope: Implemented native YAML string scalars and data-tree rendering; no YAML execution.

Preview

Service configuration tree preview
Service configuration tree preview (dark)

Source

yaml-service.puml

text/plain

@startyaml
title Native YAML keeps scalars as text
#highlight "service" / "ports"
service:
  name: api
  enabled: true
  replicas: 3
  ports: [80, "443"]
  description: |
    First line
    Second line
clients:
  - name: web
    weight: 0.5
  - name: mobile
    weight: 0.5
@endyaml

Download source: yaml-service.puml

Download SVG Download dark SVG Open offline player

diagrams.mbt · Diagramming for MoonBit.