{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "dedupe",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "deploymentDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "dispatchDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "messageContractDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "securityDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "systemContextDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "flowchart",
      "signature": "const flowchart = function flowchart(spec: FlowchartSpec & Required<AccessibleText>): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "deploymentDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "systemContextDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "shapeOf",
      "signature": "const shapeOf = function shapeOf(kind: string | undefined): NodeShape {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "flowchart",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "dedupe",
      "signature": "const dedupe = function dedupe(edges: readonly GraphEdge[]): GraphEdge[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/system.strings.ts",
          "name": "viewTitle",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
            "label": "configuration/strings/system.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "flowchart",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "shapeOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "systemContextDiagram",
      "signature": "export const systemContextDiagram = function systemContextDiagram(model: SystemModel): string | null {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/system.strings.ts",
          "name": "viewTitle",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
            "label": "configuration/strings/system.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "flowchart",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "shapeOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 96,
      "name": "deploymentDiagram",
      "signature": "export const deploymentDiagram = function deploymentDiagram(model: SystemModel): string | null {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/system.strings.ts",
          "name": "viewTitle",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
            "label": "configuration/strings/system.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
          }
        },
        {
          "file": "core/formatters/diagram.structure.formatter.ts",
          "name": "emitClassDiagram",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-diagram-structure-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/diagram.structure.formatter.ts",
            "label": "core/formatters/diagram.structure.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/diagram.structure.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-diagram-structure-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 74,
      "name": "dataEntityDiagram",
      "signature": "export const dataEntityDiagram = function dataEntityDiagram(model: SystemModel): string | null {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/system.strings.ts",
          "name": "viewTitle",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
            "label": "configuration/strings/system.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "flowchart",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 115,
      "name": "dispatchDiagram",
      "signature": "export const dispatchDiagram = function dispatchDiagram(model: SystemModel): string | null {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/system.strings.ts",
          "name": "viewTitle",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
            "label": "configuration/strings/system.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "flowchart",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 145,
      "name": "securityDiagram",
      "signature": "export const securityDiagram = function securityDiagram(model: SystemModel): string | null {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "configuration/strings/system.strings.ts",
          "name": "viewTitle",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
            "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
            "label": "configuration/strings/system.strings.ts",
            "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
            "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
          }
        },
        {
          "file": "core/formatters/system.formatter.ts",
          "name": "flowchart",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
            "json": "https://banes-lab.com/json/source/docs/core/formatters/system.formatter.ts",
            "label": "core/formatters/system.formatter.ts",
            "markdown": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.md",
            "ref": "anatomy:file-docs-core-formatters-system-formatter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 162,
      "name": "messageContractDiagram",
      "signature": "export const messageContractDiagram = function messageContractDiagram(model: SystemModel): string | null {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "STORE_KINDS",
      "signature": "const STORE_KINDS: ReadonlySet<string> = new Set([\"store\", \"db\", \"cache\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "EXTERNAL_KIND",
      "signature": "const EXTERNAL_KIND = \"external\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "DECISION_KIND",
      "signature": "const DECISION_KIND = \"decision\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 16,
      "name": "GATE_CLASS",
      "signature": "const GATE_CLASS = \"kGate\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "DIRECTION",
      "signature": "const DIRECTION = \"TD\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 30,
      "name": "byKey",
      "signature": "const byKey = new Map<string, GraphEdge>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "key",
      "signature": "const key = [edge.from, edge.to, edge.label ?? \"\"].join(\" \");"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "components",
      "signature": "const components = model.components ?? [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "entities",
      "signature": "const entities = model.entities ?? [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 97,
      "name": "services",
      "signature": "const services = model.deployment ?? [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 116,
      "name": "dispatch",
      "signature": "const dispatch = model.dispatch ?? [];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 132,
      "name": "enforcerOf",
      "signature": "const enforcerOf = function enforcerOf(point: SecurityPoint): string | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 136,
      "name": "securityEntries",
      "signature": "const securityEntries = function securityEntries(point: SecurityPoint): NodeEntry[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 137,
      "name": "gate",
      "signature": "const gate: NodeEntry = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 146,
      "name": "points",
      "signature": "const points = model.security ?? [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 155,
      "name": "enforcer",
      "signature": "const enforcer = enforcerOf(point);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 163,
      "name": "messages",
      "signature": "const messages = model.messages ?? [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 167,
      "name": "labelById",
      "signature": "const labelById = new Map("
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-system-formatter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "system.formatter.ts",
  "path": "core/formatters/system.formatter.ts",
  "ref": "anatomy:file-docs-core-formatters-system-formatter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-formatters.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-formatters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-system-strings-ts",
          "json": "https://banes-lab.com/json/source/docs/configuration/strings/system.strings.ts",
          "label": "configuration/strings/system.strings.ts",
          "markdown": "https://banes-lab.com/source/docs/configuration/strings/system.strings.ts.md",
          "ref": "anatomy:file-docs-configuration-strings-system-strings-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-diagram-structure-formatter-ts",
          "json": "https://banes-lab.com/json/source/docs/core/formatters/diagram.structure.formatter.ts",
          "label": "core/formatters/diagram.structure.formatter.ts",
          "markdown": "https://banes-lab.com/source/docs/core/formatters/diagram.structure.formatter.ts.md",
          "ref": "anatomy:file-docs-core-formatters-diagram-structure-formatter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-configuration-strings",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-configuration-strings",
          "label": "configuration/strings",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-configuration-strings.md",
          "ref": "chapter:/anatomy/docs#folder-docs-configuration-strings"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-formatters",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-formatters",
          "label": "core/formatters",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-formatters.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-formatters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "formatter",
    "subject": "system",
    "variant": null
  },
  "stats": {
    "bytes": 6920,
    "callable": 11,
    "definitions": 27,
    "edges": 15,
    "exported": 14,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 1,
      "leaf": 2,
      "entry": 6,
      "isolated": 18
    },
    "lines": {
      "blank": 12,
      "code": 168,
      "total": 180
    }
  },
  "summary": "168 lines of code and 27 definitions.",
  "text": "https://banes-lab.com/source/docs/core/formatters/system.formatter.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-template-formatter-ts",
      "json": "https://banes-lab.com/json/source/docs/core/formatters/template.formatter.ts",
      "label": "core/formatters/template.formatter.ts",
      "markdown": "https://banes-lab.com/source/docs/core/formatters/template.formatter.ts.md",
      "ref": "anatomy:file-docs-core-formatters-template-formatter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/docs#file-docs-core-formatters-readme-section-formatter-ts",
      "json": "https://banes-lab.com/json/source/docs/core/formatters/readme.section.formatter.ts",
      "label": "core/formatters/readme.section.formatter.ts",
      "markdown": "https://banes-lab.com/source/docs/core/formatters/readme.section.formatter.ts.md",
      "ref": "anatomy:file-docs-core-formatters-readme-section-formatter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/formatters",
    "label": "core/formatters",
    "markdown": "https://banes-lab.com/api/source/docs/core/formatters.md",
    "ref": "api:source/docs/core/formatters"
  }
}
