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