diff --git a/src/main/packages/uml-activity-diagram/activity-preview.ts b/src/main/packages/uml-activity-diagram/activity-preview.ts index 484b310df..413ec086b 100644 --- a/src/main/packages/uml-activity-diagram/activity-preview.ts +++ b/src/main/packages/uml-activity-diagram/activity-preview.ts @@ -31,14 +31,14 @@ export const composeActivityPreview: ComposePreview = ( // Activity Initial Node const activityInitialNode = new UMLActivityInitialNode({ - bounds: { x: 0, y: 0, width: 45 * scale, height: 45 * scale }, + bounds: { x: 0, y: 0, width: 50 * scale, height: 50 * scale }, }); elements.push(activityInitialNode); // Activity Final Node const activityFinalNode = new UMLActivityFinalNode({ - bounds: { x: 0, y: 0, width: 45 * scale, height: 45 * scale }, + bounds: { x: 0, y: 0, width: 50 * scale, height: 50 * scale }, }); elements.push(activityFinalNode); diff --git a/src/main/packages/uml-activity-diagram/uml-activity-final-node/uml-activity-final-node.ts b/src/main/packages/uml-activity-diagram/uml-activity-final-node/uml-activity-final-node.ts index 0e08b55c7..d0588e4a9 100644 --- a/src/main/packages/uml-activity-diagram/uml-activity-final-node/uml-activity-final-node.ts +++ b/src/main/packages/uml-activity-diagram/uml-activity-final-node/uml-activity-final-node.ts @@ -13,7 +13,7 @@ export class UMLActivityFinalNode extends UMLElement { static features: UMLElementFeatures = { ...UMLElement.features, resizable: false, updatable: false }; type: UMLElementType = ActivityElementType.ActivityFinalNode; - bounds: IBoundary = { ...this.bounds, width: 45, height: 45 }; + bounds: IBoundary = { ...this.bounds, width: 50, height: 50 }; constructor(values?: DeepPartial) { super(values); diff --git a/src/main/packages/uml-activity-diagram/uml-activity-initial-node/uml-activity-initial-node.ts b/src/main/packages/uml-activity-diagram/uml-activity-initial-node/uml-activity-initial-node.ts index df7afbb6e..9431c40ee 100644 --- a/src/main/packages/uml-activity-diagram/uml-activity-initial-node/uml-activity-initial-node.ts +++ b/src/main/packages/uml-activity-diagram/uml-activity-initial-node/uml-activity-initial-node.ts @@ -14,7 +14,7 @@ export class UMLActivityInitialNode extends UMLElement { static features: UMLElementFeatures = { ...UMLElement.features, resizable: false, updatable: false }; type: UMLElementType = ActivityElementType.ActivityInitialNode; - bounds: IBoundary = { ...this.bounds, width: 45, height: 45 }; + bounds: IBoundary = { ...this.bounds, width: 50, height: 50 }; constructor(values?: DeepPartial) { super(values); diff --git a/src/tests/unit/packages/uml-activity-diagram/uml-activity-final-node/__snapshots__/uml-activity-final-node-component-test.tsx.snap b/src/tests/unit/packages/uml-activity-diagram/uml-activity-final-node/__snapshots__/uml-activity-final-node-component-test.tsx.snap index 4dea6bb2c..88457944a 100644 --- a/src/tests/unit/packages/uml-activity-diagram/uml-activity-final-node/__snapshots__/uml-activity-final-node-component-test.tsx.snap +++ b/src/tests/unit/packages/uml-activity-diagram/uml-activity-final-node/__snapshots__/uml-activity-final-node-component-test.tsx.snap @@ -10,7 +10,7 @@ exports[`render the uml-activity-final-node-component 1`] = ` cx="50%" cy="50%" fill="white" - r="20" + r="22.5" stroke="black" stroke-width="5" /> @@ -20,7 +20,7 @@ exports[`render the uml-activity-final-node-component 1`] = ` cy="50%" fill="black" fill-opacity="1" - r="15" + r="17.5" stroke="none" /> diff --git a/src/tests/unit/packages/uml-activity-diagram/uml-activity-initial-node/__snapshots__/uml-activity-initial-node-component-test.tsx.snap b/src/tests/unit/packages/uml-activity-diagram/uml-activity-initial-node/__snapshots__/uml-activity-initial-node-component-test.tsx.snap index 85a446fdd..8349b0ec7 100644 --- a/src/tests/unit/packages/uml-activity-diagram/uml-activity-initial-node/__snapshots__/uml-activity-initial-node-component-test.tsx.snap +++ b/src/tests/unit/packages/uml-activity-diagram/uml-activity-initial-node/__snapshots__/uml-activity-initial-node-component-test.tsx.snap @@ -11,7 +11,7 @@ exports[`render the uml-activity-intial-node-component 1`] = ` cy="50%" fill="black" fill-opacity="1" - r="22.5" + r="25" stroke="none" />