# configuration/strings/graph.strings.ts

> 10 lines of code and 2 definitions.

Tree: GovLab Docs
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/docs#file-docs-configuration-strings-graph-strings-ts
Source text: https://banes-lab.com/source/docs/configuration/strings/graph.strings.ts.txt

Listed in [configuration/strings](https://banes-lab.com/api/source/docs/configuration/strings.md), after [configuration/strings/governance.strings.ts](https://banes-lab.com/source/docs/configuration/strings/governance.strings.ts.md) and before [configuration/strings/index.strings.ts](https://banes-lab.com/source/docs/configuration/strings/index.strings.ts.md).

## Definitions

- `hookLabel` (lexical_declaration, line 9, exported)
- `GRAPH_LABELS` (lexical_declaration, line 1, exported)

## Contained in

- [configuration/strings](https://banes-lab.com/anatomy/docs/folder-docs-configuration-strings.md)

## Used by

- [core/plugins/syntax.event.plugin.ts](https://banes-lab.com/source/docs/core/plugins/syntax.event.plugin.ts.md)

## Linked from

- [core/plugins](https://banes-lab.com/anatomy/docs/folder-docs-core-plugins.md)

## Source

```typescript
export const GRAPH_LABELS = {
    constructs: "new",
    fails: "fail",
    guard: "guard",
    throws: "throw",
    writes: "writes",
} as const;

export const hookLabel = function hookLabel(event: string): string {
    return `hook ${event}`;
};
```
