{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "coverage",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        },
        {
          "file": "core/coordinators/graph.coordinator.ts",
          "name": "buildGraph",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
            "label": "core/coordinators/graph.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
          }
        },
        {
          "file": "core/coordinators/graph.coordinator.ts",
          "name": "buildGraph",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
            "label": "core/coordinators/graph.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 15,
      "name": "presence",
      "signature": "export const presence = function presence("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "facetOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "presence",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "reaches",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/coordinators/graph.coordinator.ts",
          "name": "buildGraph",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
            "label": "core/coordinators/graph.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 50,
      "name": "coverage",
      "signature": "export const coverage = function coverage(graph: Graph): readonly Population[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "linksOntology",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/coordinators/graph.coordinator.ts",
          "name": "buildGraph",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
            "label": "core/coordinators/graph.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "uncoveredSections",
      "signature": "export const uncoveredSections = function uncoveredSections("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "carries",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/coordinators/graph.coordinator.ts",
          "name": "buildGraph",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
            "label": "core/coordinators/graph.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 103,
      "name": "tooltipGaps",
      "signature": "export const tooltipGaps = function tooltipGaps("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "coverage",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "facetOf",
      "signature": "const facetOf = function facetOf(layer: string): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "coverage",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 36,
      "name": "reaches",
      "signature": "export const reaches = function reaches(graph: Graph, facet: string): (node: GraphNode) => boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/coordinators/graph.coordinator.ts",
          "name": "buildGraph",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
            "label": "core/coordinators/graph.coordinator.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
            "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "layerPopulation",
      "signature": "export const layerPopulation = function layerPopulation(nodes: readonly GraphNode[]): Population {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "uncoveredSections",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 82,
      "name": "linksOntology",
      "signature": "const linksOntology = reaches(graph, ONTOLOGY_FACET);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/graph.analyzer.ts",
          "name": "tooltipGaps",
          "source": {
            "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
            "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/graph.analyzer.ts",
            "label": "core/analyzers/graph.analyzer.ts",
            "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.md",
            "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "carries",
      "signature": "const carries = function carries("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "stateOf",
      "signature": "const stateOf = function stateOf(node: GraphNode, has: (node: GraphNode) => boolean): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "key",
      "signature": "const key = `${stateOf(held, has)} ${held.layer} ${held.kind}`;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 37,
      "name": "layerOf",
      "signature": "const layerOf = new Map(graph.nodes.map((node) => [node.ref, facetOf(node.layer)]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "reached",
      "signature": "const reached = new Set<string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 51,
      "name": "facets",
      "signature": "const facets = [SITE_LAYER, ONTOLOGY_FACET, SOURCE_FACET];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "parts",
      "signature": "const parts = new Map<string, number>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 83,
      "name": "byRef",
      "signature": "const byRef = new Map(graph.nodes.map((held) => [held.ref, held]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 88,
      "name": "node",
      "signature": "const node = byRef.get(ref);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "held",
      "signature": "const held = chunk?.[from]?.relations.find((entry) => entry.relation === relation);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 108,
      "name": "nodes",
      "signature": "const nodes = new Map(graph.nodes.map((node) => [node.ref, node]));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 109,
      "name": "expected",
      "signature": "const expected = graph.edges"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 112,
      "name": "reverse",
      "signature": "const reverse = rules.pairs.find((pair) => pair.forward === edge.relation)?.reverse;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 120,
      "name": "target",
      "signature": "const target = nodes.get(entry.to);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-graph-analyzer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "graph.analyzer.ts",
  "path": "core/analyzers/graph.analyzer.ts",
  "ref": "anatomy:file-build-scripts-core-analyzers-graph-analyzer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-analyzers.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-analyzers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-coordinators-graph-coordinator-ts",
          "json": "https://banes-lab.com/json/source/build-scripts/core/coordinators/graph.coordinator.ts",
          "label": "core/coordinators/graph.coordinator.ts",
          "markdown": "https://banes-lab.com/source/build-scripts/core/coordinators/graph.coordinator.ts.md",
          "ref": "anatomy:file-build-scripts-core-coordinators-graph-coordinator-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/build-scripts#folder-build-scripts-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/build-scripts/folder-build-scripts-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-analyzers.md",
          "ref": "chapter:/anatomy/build-scripts#folder-build-scripts-core-analyzers"
        },
        {
          "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": "analyzer",
    "subject": "graph",
    "variant": null
  },
  "stats": {
    "bytes": 4799,
    "callable": 9,
    "definitions": 22,
    "edges": 5,
    "exported": 18,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 6,
      "relay": 3,
      "isolated": 13
    },
    "lines": {
      "blank": 9,
      "code": 116,
      "total": 125
    }
  },
  "summary": "116 lines of code and 22 definitions.",
  "text": "https://banes-lab.com/source/build-scripts/core/analyzers/graph.analyzer.ts.txt",
  "tree": "build-scripts",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-learning-analyzer-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/learning.analyzer.ts",
      "label": "core/analyzers/learning.analyzer.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/learning.analyzer.ts.md",
      "ref": "anatomy:file-build-scripts-core-analyzers-learning-analyzer-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/build-scripts#file-build-scripts-core-analyzers-asset-analyzer-ts",
      "json": "https://banes-lab.com/json/source/build-scripts/core/analyzers/asset.analyzer.ts",
      "label": "core/analyzers/asset.analyzer.ts",
      "markdown": "https://banes-lab.com/source/build-scripts/core/analyzers/asset.analyzer.ts.md",
      "ref": "anatomy:file-build-scripts-core-analyzers-asset-analyzer-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/build-scripts/core/analyzers",
    "label": "core/analyzers",
    "markdown": "https://banes-lab.com/api/source/build-scripts/core/analyzers.md",
    "ref": "api:source/build-scripts/core/analyzers"
  }
}
