{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/coordinators/catalog.coordinator.ts",
          "name": "buildCatalog",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-catalog-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/catalog.coordinator.ts",
            "label": "core/coordinators/catalog.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/catalog.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-catalog-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 11,
      "name": "numbersIn",
      "signature": "export const numbersIn = function numbersIn(report: unknown): ReadonlyMap<string, string> {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/converters/graph.site.converter.ts",
          "name": "siteNodes",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-graph-site-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/graph.site.converter.ts",
            "label": "core/converters/graph.site.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/graph.site.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-graph-site-converter-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "citationOf",
      "signature": "export const citationOf = function citationOf("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/learning.converter.ts",
          "name": "chunkCode",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-learning-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/learning.converter.ts",
            "label": "core/converters/learning.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/learning.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-learning-converter-ts"
          }
        },
        {
          "file": "core/converters/learning.converter.ts",
          "name": "chunkCode",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-learning-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/learning.converter.ts",
            "label": "core/converters/learning.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/learning.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-learning-converter-ts"
          }
        },
        {
          "file": "core/converters/learning.converter.ts",
          "name": "chunkCode",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-learning-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/learning.converter.ts",
            "label": "core/converters/learning.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/learning.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-learning-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "tabOrder",
      "signature": "const tabOrder = function tabOrder("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/learning.converter.ts",
          "name": "chunkCode",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-learning-converter-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/converters/learning.converter.ts",
            "label": "core/converters/learning.converter.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/converters/learning.converter.ts.md",
            "ref": "anatomy:file-build-scripts-core-converters-learning-converter-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "siteCodes",
      "signature": "export const siteCodes = function siteCodes("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "PAGE_LETTERS",
      "signature": "const PAGE_LETTERS = \"abcdefghijklmnopqrstuvwxyz\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 12,
      "name": "graph",
      "signature": "const graph = isRecord(report) ? report[\"graph\"] : null;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "nodes",
      "signature": "const nodes = isRecord(graph) && Array.isArray(graph[\"nodes\"]) ? graph[\"nodes\"] : [];"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 23,
      "name": "sectionNumbers",
      "signature": "export const sectionNumbers = function sectionNumbers("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "onRoute",
      "signature": "const onRoute = new Map(stops.map((stop) => [CHAPTER_PREFIX + stop.path, stop.position]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "numbers",
      "signature": "const numbers = new Map<string, string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 31,
      "name": "position",
      "signature": "const position = onRoute.get(plan.identity.ref);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "tabOf",
      "signature": "const tabOf = new Map(plans.map((plan) => [plan.identity.ref, plan.tab.path]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "codes",
      "signature": "const codes = new Map<string, string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "tab",
      "signature": "const tab = tabOf.get(CHAPTER_PREFIX + stop.path);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "taken",
      "signature": "const taken = new Set(codes.values());"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 54,
      "name": "next",
      "signature": "let next = 0;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "unrouted",
      "signature": "const unrouted = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "tabs",
      "signature": "const tabs = tabOrder(routes, plans, stops);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 77,
      "name": "pageOfTab",
      "signature": "const pageOfTab = new Map(["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 81,
      "name": "ordered",
      "signature": "const ordered = ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 84,
      "name": "page",
      "signature": "const page = pageOfTab.get(tab);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 98,
      "name": "number",
      "signature": "const number = numbers.get(plan.identity.ref);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "code",
      "signature": "const code = codes.tabs.get(plan.tab.path);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-graph-code-converter-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "graph.code.converter.ts",
  "path": "core/converters/graph.code.converter.ts",
  "ref": "anatomy:file-build-scripts-core-converters-graph-code-converter-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-converters"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-learning-converter-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/converters/learning.converter.ts",
          "label": "core/converters/learning.converter.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/converters/learning.converter.ts.md",
          "ref": "anatomy:file-build-scripts-core-converters-learning-converter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-graph-site-converter-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/converters/graph.site.converter.ts",
          "label": "core/converters/graph.site.converter.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/converters/graph.site.converter.ts.md",
          "ref": "anatomy:file-build-scripts-core-converters-graph-site-converter-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-catalog-coordinator-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/catalog.coordinator.ts",
          "label": "core/coordinators/catalog.coordinator.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/catalog.coordinator.ts.md",
          "ref": "anatomy:file-build-scripts-core-coordinators-catalog-coordinator-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-converters",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-converters"
        },
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-coordinators",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-coordinators",
          "label": "core/coordinators",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-coordinators.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-coordinators"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "converter",
    "subject": "graph",
    "variant": "code"
  },
  "stats": {
    "bytes": 3748,
    "callable": 5,
    "definitions": 23,
    "edges": 4,
    "exported": 16,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "entry": 2,
      "isolated": 19
    },
    "lines": {
      "blank": 6,
      "code": 95,
      "total": 101
    }
  },
  "summary": "95 lines of code and 23 definitions.",
  "text": "https://banes-lab.com/source/build-scripts/core/converters/graph.code.converter.ts.txt",
  "tree": "build-scripts",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-graph-concept-converter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/converters/graph.concept.converter.ts",
      "label": "core/converters/graph.concept.converter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/converters/graph.concept.converter.ts.md",
      "ref": "anatomy:file-build-scripts-core-converters-graph-concept-converter-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-converters-grammar-reference-converter-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/converters/grammar.reference.converter.ts",
      "label": "core/converters/grammar.reference.converter.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/converters/grammar.reference.converter.ts.md",
      "ref": "anatomy:file-build-scripts-core-converters-grammar-reference-converter-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/build-scripts/core/converters",
    "label": "core/converters",
    "markdown": "https://banes-lab.com/api/source/build-scripts/core/converters.md",
    "ref": "api:source/build-scripts/core/converters"
  }
}
