Merge pull request #4540 from tomperr/fix/4536-double-circle-style

fix(flowchart): apply style on doublecircle
This commit is contained in:
Sidharth Vinod 2023-06-27 11:23:26 +05:30 committed by GitHub
commit 5baeda0b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -602,6 +602,8 @@ const doublecircle = async (parent, node) => {
const outerCircle = circleGroup.insert('circle');
const innerCircle = circleGroup.insert('circle');
circleGroup.attr('class', node.class);
// center the circle around its coordinate
outerCircle
.attr('style', node.style)