mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00

* develop: (59 commits) docs: Update mermaid.init remove date docs: Remove incorrect = chore: Prettier format chore: Update config.type.ts chore Add vitest.workspace.js chore: Stricter TS version chore: Remove MermaidAPI from docs doc: Update deprecation message doc: Update deprecation message fix: prevent escaping label styles chore: update browsers list chore(deps): update all patch dependencies docs: Added demo diagram of bidirectional arrows for sequence diagrams fix(deps): update all patch dependencies chore: Update drupal regex chore: Update pnpm chore: Update docs to remove html tag like text rebuild chore: Use string templates chore: Update docs ...
59 lines
1.9 KiB
Markdown
59 lines
1.9 KiB
Markdown
> **Warning**
|
|
>
|
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
>
|
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/config/setup/modules/mermaid.md](../../../../packages/mermaid/src/docs/config/setup/modules/mermaid.md).
|
|
|
|
# Module: mermaid
|
|
|
|
## Classes
|
|
|
|
- [UnknownDiagramError](../classes/mermaid.UnknownDiagramError.md)
|
|
|
|
## Interfaces
|
|
|
|
- [DetailedError](../interfaces/mermaid.DetailedError.md)
|
|
- [ExternalDiagramDefinition](../interfaces/mermaid.ExternalDiagramDefinition.md)
|
|
- [LayoutLoaderDefinition](../interfaces/mermaid.LayoutLoaderDefinition.md)
|
|
- [Mermaid](../interfaces/mermaid.Mermaid.md)
|
|
- [MermaidConfig](../interfaces/mermaid.MermaidConfig.md)
|
|
- [ParseOptions](../interfaces/mermaid.ParseOptions.md)
|
|
- [ParseResult](../interfaces/mermaid.ParseResult.md)
|
|
- [RenderResult](../interfaces/mermaid.RenderResult.md)
|
|
- [RunOptions](../interfaces/mermaid.RunOptions.md)
|
|
|
|
## Type Aliases
|
|
|
|
### ParseErrorFunction
|
|
|
|
Ƭ **ParseErrorFunction**: (`err`: `string` | [`DetailedError`](../interfaces/mermaid.DetailedError.md) | `unknown`, `hash?`: `any`) => `void`
|
|
|
|
#### Type declaration
|
|
|
|
▸ (`err`, `hash?`): `void`
|
|
|
|
##### Parameters
|
|
|
|
| Name | Type |
|
|
| :------ | :--------------------------------------------------------------------------------- |
|
|
| `err` | `string` \| [`DetailedError`](../interfaces/mermaid.DetailedError.md) \| `unknown` |
|
|
| `hash?` | `any` |
|
|
|
|
##### Returns
|
|
|
|
`void`
|
|
|
|
#### Defined in
|
|
|
|
[packages/mermaid/src/Diagram.ts:9](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/Diagram.ts#L9)
|
|
|
|
## Variables
|
|
|
|
### default
|
|
|
|
• `Const` **default**: [`Mermaid`](../interfaces/mermaid.Mermaid.md)
|
|
|
|
#### Defined in
|
|
|
|
[packages/mermaid/src/mermaid.ts:440](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/mermaid.ts#L440)
|