mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
updated shadedProcess shape
This commit is contained in:
parent
99f7d65f47
commit
7d6a97e264
@ -30,8 +30,8 @@ export const shadedProcess = async (parent: SVGAElement, node: Node) => {
|
||||
const roughNode = rc.rectangle(x - 8, y, w + 16, h, options);
|
||||
const l1 = rc.line(x, y, x, y + h, options);
|
||||
|
||||
shapeSvg.insert(() => l1, ':first-child');
|
||||
const rect = shapeSvg.insert(() => roughNode, ':first-child');
|
||||
const rect = shapeSvg.insert(() => l1, ':first-child');
|
||||
rect.insert(() => roughNode, ':first-child');
|
||||
|
||||
rect.attr('class', 'basic label-container').attr('style', cssStyles);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user