mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-11 01:59:41 +02:00
Fix for broker error diagram related #4178
This commit is contained in:
@@ -14,8 +14,8 @@ export const draw = (_text: string, id: string, version: string) => {
|
|||||||
log.debug('renering svg for syntax error\n');
|
log.debug('renering svg for syntax error\n');
|
||||||
|
|
||||||
const svg: SVG = selectSvgElement(id);
|
const svg: SVG = selectSvgElement(id);
|
||||||
svg.attr('viewBox', '768 0 912 512');
|
svg.attr('viewBox', '0 0 1912 512');
|
||||||
configureSvgSize(svg, 100, 500, true);
|
configureSvgSize(svg, 100, 512, true);
|
||||||
|
|
||||||
const g: Group = svg.append('g');
|
const g: Group = svg.append('g');
|
||||||
g.append('path')
|
g.append('path')
|
||||||
|
Reference in New Issue
Block a user