# shared/manifests/diagram.manifest.ts

> 21 lines of code and 6 definitions.

Tree: Governance tree
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/governance#file-governance-shared-manifests-diagram-manifest-ts
Source text: https://banes-lab.com/source/governance/shared/manifests/diagram.manifest.ts.txt

Listed in [shared/manifests](https://banes-lab.com/api/source/governance/shared/manifests.md), after [shared/manifests/composition.manifest.ts](https://banes-lab.com/source/governance/shared/manifests/composition.manifest.ts.md) and before [shared/manifests/exclusions.manifest.ts](https://banes-lab.com/source/governance/shared/manifests/exclusions.manifest.ts.md).

## Definitions

- `DIAGRAM_KEYWORDS` (lexical_declaration, line 1, exported)
- `DIAGRAM_GROUP_KEYWORD` (lexical_declaration, line 18, exported)
- `DIAGRAM_HEADERS` (lexical_declaration, line 20, exported)
- `DIAGRAM_SHAPE_OPENERS` (lexical_declaration, line 22, exported)
- `DIAGRAM_EDGE_CHARACTERS` (lexical_declaration, line 24, exported)
- `DIAGRAM_IDENTIFIER_CHARACTERS` (lexical_declaration, line 26, exported)

## Source

```typescript
export const DIAGRAM_KEYWORDS: ReadonlySet<string> = new Set([
    "call",
    "class",
    "classDef",
    "click",
    "default",
    "direction",
    "end",
    "flowchart",
    "graph",
    "href",
    "interpolate",
    "linkStyle",
    "style",
    "subgraph",
]);

export const DIAGRAM_GROUP_KEYWORD = "subgraph";

export const DIAGRAM_HEADERS: ReadonlySet<string> = new Set(["flowchart", "graph"]);

export const DIAGRAM_SHAPE_OPENERS: ReadonlySet<string> = new Set(["[", "(", "{", ">"]);

export const DIAGRAM_EDGE_CHARACTERS: ReadonlySet<string> = new Set(["-", ".", "=", ">"]);

export const DIAGRAM_IDENTIFIER_CHARACTERS = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_";
```
