mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-22 08:50:13 +02:00
Increase size limit of diagrams
This commit is contained in:
@@ -91,6 +91,27 @@
|
||||
|
||||
## Functions
|
||||
|
||||
### calcIntersect
|
||||
|
||||
▸ **calcIntersect**(`nodeId`, `point`): `Point` | `Promise`<`Point`>
|
||||
|
||||
#### Parameters
|
||||
|
||||
| Name | Type |
|
||||
| :------- | :------- |
|
||||
| `nodeId` | `string` |
|
||||
| `point` | `Point` |
|
||||
|
||||
#### Returns
|
||||
|
||||
`Point` | `Promise`<`Point`>
|
||||
|
||||
#### Defined in
|
||||
|
||||
[packages/mermaid/src/rendering-util/layout-algorithms/fixed/index.js:172](https://github.com/mermaid-js/mermaid/blob/master/packages/mermaid/src/rendering-util/layout-algorithms/fixed/index.js#L172)
|
||||
|
||||
---
|
||||
|
||||
### calcIntersections
|
||||
|
||||
▸ **calcIntersections**(`startNodeId`, `endNodeId`, `startNodeSize`, `endNodeSize`): `IntersectionPoint`\[]
|
||||
|
@@ -27,7 +27,7 @@ import type { D3Element, ParseOptions, ParseResult, RenderResult } from './types
|
||||
import { decodeEntities } from './utils.js';
|
||||
import { toBase64 } from './utils/base64.js';
|
||||
|
||||
const MAX_TEXTLENGTH = 50_000;
|
||||
const MAX_TEXTLENGTH = 100_000;
|
||||
const MAX_TEXTLENGTH_EXCEEDED_MSG =
|
||||
'graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa';
|
||||
|
||||
|
Reference in New Issue
Block a user