diff --git a/packages/editor/cypress.config.ts b/packages/editor/cypress.config.ts
index 3a66321e..de410d15 100644
--- a/packages/editor/cypress.config.ts
+++ b/packages/editor/cypress.config.ts
@@ -1,6 +1,7 @@
import { defineConfig } from 'cypress';
export default defineConfig({
+ projectId: 'it9g7s',
video: false,
videoUploadOnPasses: false,
includeShadowDom: true,
diff --git a/packages/editor/cypress/e2e/playground.cy.js b/packages/editor/cypress/e2e/playground.cy.js
deleted file mode 100644
index d8cd143b..00000000
--- a/packages/editor/cypress/e2e/playground.cy.js
+++ /dev/null
@@ -1,31 +0,0 @@
-context('Playground', () => {
- it('viewmode page should match its snapshot', () => {
- [
- 'welcome',
- 'sample1',
- 'sample2',
- 'sample3',
- 'sample4',
- 'sample5',
- 'sample6',
- 'complex',
- 'img-support',
- 'icon-sample',
- ].forEach((mapId) => {
- cy.visit(`/viewmode.html?id=${mapId}`);
- cy.get('#mindmap-comp.ready').should('exist');
- cy.matchImageSnapshot(`viewmode-${mapId}`);
- });
- });
- it('the playground showcase.html page should match its snapshot', () => {
- cy.visit('/showcase.html');
- cy.getIframeBody().find('#mindmap-comp.ready').should('exist');
- cy.matchImageSnapshot('container');
- });
- it('the playground editor.html page should match its snapshot', () => {
- cy.visit('/editor.html');
- cy.get('#mindmap-comp.ready').should('exist');
- // TODO: why is the editor appearing twice in the snapshot?
- cy.matchImageSnapshot('editor');
- });
-});
diff --git a/packages/editor/cypress/e2e/relationship.cy.js b/packages/editor/cypress/e2e/relationship.cy.js
index a0deb93c..4f9e4daa 100644
--- a/packages/editor/cypress/e2e/relationship.cy.js
+++ b/packages/editor/cypress/e2e/relationship.cy.js
@@ -5,12 +5,20 @@ context('Relationship Topics', () => {
cy.get('[test-id="30-11-relationship"]').click({ force: true });
});
- it('Change shape relationship', () => {
- cy.get('[test-id="control-56"]').trigger('mousedown', { force: true });
- cy.get('body').trigger('mousemove', { clientX: 500, clientY: 200 });
- cy.get('body').trigger('mouseup');
- cy.matchImageSnapshot('changeShapeRealtionship');
+ it('Add Relationship', () => {
+ cy.contains('Features').click();
+ cy.get(`[aria-label="Add Relationship"]`).click();
+ cy.contains('Try it Now!').click();
+
+ cy.get('[test-id="11-15-relationship"]').click({ force: true });
+ cy.matchImageSnapshot('addRelationship');
+ });
- cy.get('[test-id="control-56"]').invoke('attr', 'cy').should('eq', '-131.75');
+ it('Delete Relationship', () => {
+ cy.get('[test-id="11-15-relationship"]').click({ force: true });
+ cy.get('body').type('{backspace}');
+
+ cy.get('[test-id="11-15-relationship"]').should('not.exist');
+ cy.matchImageSnapshot('delete relationship');
});
});
diff --git a/packages/editor/cypress/e2e/topicFontChange.cy.js b/packages/editor/cypress/e2e/topicFontChange.cy.js
index 029df1a1..591fc09c 100644
--- a/packages/editor/cypress/e2e/topicFontChange.cy.js
+++ b/packages/editor/cypress/e2e/topicFontChange.cy.js
@@ -14,54 +14,62 @@ context('Edit Topic', () => {
});
it('Change Font Size', () => {
- cy.get('#fontSizeTip').click();
- cy.get('.popover #small').click({ force: true });
- cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '8.0625');
+ // Go to the minimal size.
+ cy.get(`[aria-label="Font Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Smaller"]`).click();
+ cy.get(`[aria-label="Smaller"]`).click();
+
+
+ cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '8.1');
cy.matchImageSnapshot('changeFontSizeSmall');
- cy.get('#fontSizeTip').click();
- cy.get('.popover #normal').click({ force: true });
-
- cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '10.75');
+ cy.get(`[aria-label="Font Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Bigger"]`).click();
+ cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '10.8');
cy.matchImageSnapshot('changeFontSizeNormal');
- cy.get('#fontSizeTip').click();
- cy.get('.popover #large').click({ force: true });
-
- cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '13.4375');
+ cy.get(`[aria-label="Font Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Bigger"]`).click();
+ cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '13.4');
cy.matchImageSnapshot('changeFontSizeLarge');
- cy.get('#fontSizeTip').click();
- cy.get('.popover #huge').click({ force: true });
+ cy.get(`[aria-label="Font Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Bigger"]`).click();
- cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '20.15625');
+ cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '20.2');
cy.matchImageSnapshot('changeFontSizeHuge');
+
+ // Can not scale it more.
+ cy.get(`[aria-label="Bigger"]`).click();
+ cy.get('[test-id=1] > text').invoke('attr', 'font-size').should('eq', '20.2');
+ cy.matchImageSnapshot('changeFontSizeHuge');
+
});
- it('Change Font type', () => {
- cy.get('#fontFamilyTip').click();
- cy.get('[model="Times"]').click({ force: true });
+ // it('Change Font To Italic', () => {
+ // cy.get(`[aria-label="Font Style"]`).trigger('mouseover');
+ // cy.contains(`[data-test-id="FormactItalicIcon"]`).click();
- cy.get('[test-id=1] > text').invoke('attr', 'font-family').should('eq', 'Times');
+ // cy.get('[test-id=1] > text').invoke('attr', 'font-family').should('eq', 'Times');
+ // cy.matchImageSnapshot('changeFontType');
+ // });
- cy.matchImageSnapshot('changeFontType');
- });
+ // it('Change Font Italic', () => {
+ // cy.get(`[aria-label="Font Style"]`).trigger('mouseover');
+ // cy.contains('[data-testid="FormatItalicIcon"]').click();
- it('Change Font Italic', () => {
- cy.get('#fontItalicTip').click();
+ // cy.get('[test-id=1] > text').invoke('attr', 'font-style').should('eq', 'italic');
- cy.get('[test-id=1] > text').invoke('attr', 'font-style').should('eq', 'italic');
+ // cy.matchImageSnapshot('changeFontItalic');
+ // });
- cy.matchImageSnapshot('changeFontItalic');
- });
+ // it('Change Font color', () => {
+ // cy.get('#fontColorTip').click();
+ // cy.get('[title="RGB (153, 0, 255)"]').click({ force: true });
- it('Change Font color', () => {
- cy.get('#fontColorTip').click();
- cy.get('[title="RGB (153, 0, 255)"]').click({ force: true });
+ // cy.get('[test-id=1] > text').invoke('attr', 'fill').should('eq', 'rgb(153, 0, 255)');
- cy.get('[test-id=1] > text').invoke('attr', 'fill').should('eq', 'rgb(153, 0, 255)');
-
- cy.matchImageSnapshot('changeFontColor');
- });
+ // cy.matchImageSnapshot('changeFontColor');
+ // });
});
diff --git a/packages/editor/cypress/e2e/topicManager.cy.js b/packages/editor/cypress/e2e/topicManager.cy.js
index d45e974c..15562a63 100644
--- a/packages/editor/cypress/e2e/topicManager.cy.js
+++ b/packages/editor/cypress/e2e/topicManager.cy.js
@@ -33,13 +33,19 @@ context('Node manager', () => {
});
it('undo changes', () => {
- cy.get('#undoEditionTip').click();
+ cy.get('[data-testid="UndoOutlinedIcon"]').click();
cy.get('[test-id=36] > text > tspan').should('exist');
cy.matchImageSnapshot('undoChange');
});
+ it('redo changes', () => {
+ cy.get('[data-testid="RedoOutlinedIcon"]').click();
+ cy.get('[test-id=36] > text > tspan').should('exist');
+ cy.matchImageSnapshot('redoChange');
+ });
+
it('Save changes', () => {
cy.contains('Mind Mapping rocks!!').click();
cy.get('body').type('{ctrl}s');
diff --git a/packages/editor/cypress/e2e/topicShape.cy.js b/packages/editor/cypress/e2e/topicShape.cy.js
index 618e22c2..53ab2712 100644
--- a/packages/editor/cypress/e2e/topicShape.cy.js
+++ b/packages/editor/cypress/e2e/topicShape.cy.js
@@ -6,39 +6,42 @@ context('Change Topic shape', () => {
});
it('change to square shape', () => {
- cy.get('#topicShapeTip').click();
- cy.get('#rectagle').click({ force: true });
+ cy.get(`[aria-label="Topic Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Rectangle shape"]`).click();
- cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '0');
+ cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '0.0');
cy.matchImageSnapshot('changeToSquareShape');
});
- it('change to rounded rectagle', () => {
- cy.get('#topicShapeTip').click();
- // TODO: The parameter {force: true} was placed because it does not detect that the element is visible
- cy.get('#rounded_rectagle').click({ force: true });
+ it('change to rounded rectangle', () => {
+ cy.contains('Mind Mapping').click();
- cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '4.05');
+ cy.get(`[aria-label="Topic Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Rounded shape"]`).click();
- cy.matchImageSnapshot('changeToRoundedRectagle');
+ cy.get('[test-id=6] > rect').eq(1).invoke('attr', 'rx').should('eq', '4.2');
+
+ cy.matchImageSnapshot('changeToRoundedRectangle');
});
it('change to line', () => {
- cy.get('#topicShapeTip').click();
- // TODO: The parameter {force: true} was placed because it does not detect that the element is visible
- cy.get('#line').click({ force: true });
+ cy.contains('Try it Now!').click();
+
+ cy.get(`[aria-label="Topic Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Line shape"]`).click();
cy.matchImageSnapshot('changeToLine');
});
- it('change to elipse shape', () => {
- cy.get('#topicShapeTip').click();
- // TODO: The parameter {force: true} was placed because it does not detect that the element is visible
- cy.get('#elipse').click({ force: true });
+ it('change to ellipse shape', () => {
+ cy.contains('Productivity').click();
- cy.get('[test-id=11] > rect').eq(1).invoke('attr', 'rx').should('eq', '12.15');
+ cy.get(`[aria-label="Topic Style"]`).trigger('mouseover');
+ cy.get(`[aria-label="Ellipse shape"]`).click();
- cy.matchImageSnapshot('changeToElipseShape');
+ cy.get('[test-id=2] > rect').eq(1).invoke('attr', 'rx').should('eq', '12.6');
+
+ cy.matchImageSnapshot('changeToEllipseShape');
});
});
diff --git a/packages/editor/cypress/snapshots/playground.test.js/container.snap.png b/packages/editor/cypress/snapshots/playground.test.js/container.snap.png
deleted file mode 100644
index 9f1ebc4d..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/container.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png b/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png
deleted file mode 100644
index b0b65038..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/editor.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png
deleted file mode 100644
index 849393df..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-complex.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png
deleted file mode 100644
index c5812db7..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-icon-sample.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png
deleted file mode 100644
index 77de8b0f..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-img-support.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png
deleted file mode 100644
index 8069012d..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample1.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png
deleted file mode 100644
index cca81e14..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample2.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png
deleted file mode 100644
index 9e39d25e..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample3.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png
deleted file mode 100644
index 5b18b272..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample4.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png
deleted file mode 100644
index f0fb0bb0..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample5.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png
deleted file mode 100644
index 2ba68358..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-sample6.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png b/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png
deleted file mode 100644
index 6350ebae..00000000
Binary files a/packages/editor/cypress/snapshots/playground.test.js/viewmode-welcome.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/relationship.cy.js/addRelationship.snap.png b/packages/editor/cypress/snapshots/relationship.cy.js/addRelationship.snap.png
new file mode 100644
index 00000000..232d3d50
Binary files /dev/null and b/packages/editor/cypress/snapshots/relationship.cy.js/addRelationship.snap.png differ
diff --git a/packages/editor/cypress/snapshots/relationship.cy.js/changeShapeRealtionship.snap.png b/packages/editor/cypress/snapshots/relationship.cy.js/changeShapeRealtionship.snap.png
deleted file mode 100644
index fc59571f..00000000
Binary files a/packages/editor/cypress/snapshots/relationship.cy.js/changeShapeRealtionship.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/relationship.cy.js/delete relationship.snap.png b/packages/editor/cypress/snapshots/relationship.cy.js/delete relationship.snap.png
new file mode 100644
index 00000000..b96386fa
Binary files /dev/null and b/packages/editor/cypress/snapshots/relationship.cy.js/delete relationship.snap.png differ
diff --git a/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png b/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png
deleted file mode 100644
index e8f04dcb..00000000
Binary files a/packages/editor/cypress/snapshots/relationship.test.js/changeShapeRealtionship.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeHuge.snap.png b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeHuge.snap.png
new file mode 100644
index 00000000..05b3ab0c
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeHuge.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeLarge.snap.png b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeLarge.snap.png
new file mode 100644
index 00000000..e0ac7cd7
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeLarge.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeNormal.snap.png b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeNormal.snap.png
new file mode 100644
index 00000000..0291dd98
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeNormal.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeSmall.snap.png b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeSmall.snap.png
new file mode 100644
index 00000000..7e286516
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeFontSizeSmall.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeMainTopicText.snap.png b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeMainTopicText.snap.png
index 61cf736c..d773673f 100644
Binary files a/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeMainTopicText.snap.png and b/packages/editor/cypress/snapshots/topicFontChange.cy.js/changeMainTopicText.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png
deleted file mode 100644
index bd46a0c7..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontColor.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png
deleted file mode 100644
index 61878965..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontItalic.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png
deleted file mode 100644
index b3f20e57..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeHuge.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png
deleted file mode 100644
index 6093c856..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeLarge.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png
deleted file mode 100644
index 5d2c1ab1..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeNormal.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png
deleted file mode 100644
index 19454e12..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontSizeSmall.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png
deleted file mode 100644
index b3f20e57..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeFontType.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png b/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png
deleted file mode 100644
index ecf6ee6c..00000000
Binary files a/packages/editor/cypress/snapshots/topicFontChange.test.js/changeMainTopicText.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicManager.cy.js/addChildNodeSortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.cy.js/addChildNodeSortcut.snap.png
index a2c6d5a1..499f94d3 100644
Binary files a/packages/editor/cypress/snapshots/topicManager.cy.js/addChildNodeSortcut.snap.png and b/packages/editor/cypress/snapshots/topicManager.cy.js/addChildNodeSortcut.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicManager.cy.js/deleteTopicShortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.cy.js/deleteTopicShortcut.snap.png
index 8128316b..c5cb0c6d 100644
Binary files a/packages/editor/cypress/snapshots/topicManager.cy.js/deleteTopicShortcut.snap.png and b/packages/editor/cypress/snapshots/topicManager.cy.js/deleteTopicShortcut.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicManager.cy.js/editor-shortcut-edit.snap.png b/packages/editor/cypress/snapshots/topicManager.cy.js/editor-shortcut-edit.snap.png
index aa6bfe26..6083385c 100644
Binary files a/packages/editor/cypress/snapshots/topicManager.cy.js/editor-shortcut-edit.snap.png and b/packages/editor/cypress/snapshots/topicManager.cy.js/editor-shortcut-edit.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicManager.cy.js/redoChange.snap.png b/packages/editor/cypress/snapshots/topicManager.cy.js/redoChange.snap.png
new file mode 100644
index 00000000..c95f5dfc
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicManager.cy.js/redoChange.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicManager.cy.js/saveChagesShortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.cy.js/saveChagesShortcut.snap.png
index 1a6a580e..6ae45ad8 100644
Binary files a/packages/editor/cypress/snapshots/topicManager.cy.js/saveChagesShortcut.snap.png and b/packages/editor/cypress/snapshots/topicManager.cy.js/saveChagesShortcut.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicManager.cy.js/undoChange.snap.png b/packages/editor/cypress/snapshots/topicManager.cy.js/undoChange.snap.png
new file mode 100644
index 00000000..e62f98bb
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicManager.cy.js/undoChange.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png
deleted file mode 100644
index 34e379d5..00000000
Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/addChildNodeSortcut.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png
deleted file mode 100644
index 63798511..00000000
Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/deleteTopicShortcut.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png
deleted file mode 100644
index b8161ccb..00000000
Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/editor-shortcut-edit.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png
deleted file mode 100644
index d6f29c5a..00000000
Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/saveChagesShortcut.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png b/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png
deleted file mode 100644
index c86635dd..00000000
Binary files a/packages/editor/cypress/snapshots/topicManager.test.js/undoChange.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.cy.js/moveDefaultPosition.snap.png b/packages/editor/cypress/snapshots/topicPosition.cy.js/moveDefaultPosition.snap.png
index 791da0f3..2a04948b 100644
Binary files a/packages/editor/cypress/snapshots/topicPosition.cy.js/moveDefaultPosition.snap.png and b/packages/editor/cypress/snapshots/topicPosition.cy.js/moveDefaultPosition.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.cy.js/movedownNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.cy.js/movedownNode.snap.png
index 51ccc6b8..0dd72540 100644
Binary files a/packages/editor/cypress/snapshots/topicPosition.cy.js/movedownNode.snap.png and b/packages/editor/cypress/snapshots/topicPosition.cy.js/movedownNode.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.cy.js/moveleftNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.cy.js/moveleftNode.snap.png
index e681d175..611420d7 100644
Binary files a/packages/editor/cypress/snapshots/topicPosition.cy.js/moveleftNode.snap.png and b/packages/editor/cypress/snapshots/topicPosition.cy.js/moveleftNode.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.cy.js/moveupNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.cy.js/moveupNode.snap.png
index 08bf5507..4a930dfe 100644
Binary files a/packages/editor/cypress/snapshots/topicPosition.cy.js/moveupNode.snap.png and b/packages/editor/cypress/snapshots/topicPosition.cy.js/moveupNode.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png
deleted file mode 100644
index 82c0b061..00000000
Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/moveDefaultPosition.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png
deleted file mode 100644
index cc4dd671..00000000
Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/movedownNode.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png
deleted file mode 100644
index a4cde1a1..00000000
Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/moveleftNode.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png b/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png
deleted file mode 100644
index 1054b7f8..00000000
Binary files a/packages/editor/cypress/snapshots/topicPosition.test.js/moveupNode.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicShape.cy.js/changeToEllipseShape.snap.png b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToEllipseShape.snap.png
new file mode 100644
index 00000000..d08c891d
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToEllipseShape.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicShape.cy.js/changeToLine.snap.png b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToLine.snap.png
new file mode 100644
index 00000000..800551e2
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToLine.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicShape.cy.js/changeToRoundedRectangle.snap.png b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToRoundedRectangle.snap.png
new file mode 100644
index 00000000..5940d893
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToRoundedRectangle.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicShape.cy.js/changeToSquareShape.snap.png b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToSquareShape.snap.png
new file mode 100644
index 00000000..a5fb7c52
Binary files /dev/null and b/packages/editor/cypress/snapshots/topicShape.cy.js/changeToSquareShape.snap.png differ
diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png
deleted file mode 100644
index 39cc85a3..00000000
Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToElipseShape.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png
deleted file mode 100644
index 15ca03a8..00000000
Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToLine.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png
deleted file mode 100644
index 114beb30..00000000
Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToRoundedRectagle.snap.png and /dev/null differ
diff --git a/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png b/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png
deleted file mode 100644
index a6617bae..00000000
Binary files a/packages/editor/cypress/snapshots/topicShape.test.js/changeToSquareShape.snap.png and /dev/null differ
diff --git a/packages/editor/lang/de.json b/packages/editor/lang/de.json
index c2826adc..be9abfc5 100644
--- a/packages/editor/lang/de.json
+++ b/packages/editor/lang/de.json
@@ -140,7 +140,7 @@
"editor-panel.tooltip-topic-share-line": {
"defaultMessage": "Linienform"
},
- "editor-panel.tooltip-topic-share-rectagle": {
+ "editor-panel.tooltip-topic-share-rectangle": {
"defaultMessage": "Rechteckform"
},
"editor-panel.tooltip-topic-share-rounded": {
diff --git a/packages/editor/lang/en.json b/packages/editor/lang/en.json
index 72d1569d..bae131e0 100644
--- a/packages/editor/lang/en.json
+++ b/packages/editor/lang/en.json
@@ -95,8 +95,8 @@
"editor-panel.tooltip-topic-share-line": {
"defaultMessage": "Line shape"
},
- "editor-panel.tooltip-topic-share-rectagle": {
- "defaultMessage": "Rectagle shape"
+ "editor-panel.tooltip-topic-share-rectangle": {
+ "defaultMessage": "Rectangle shape"
},
"editor-panel.tooltip-topic-share-rounded": {
"defaultMessage": "Rounded shape"
diff --git a/packages/editor/lang/es.json b/packages/editor/lang/es.json
index 8ffe8c7c..862abed1 100644
--- a/packages/editor/lang/es.json
+++ b/packages/editor/lang/es.json
@@ -122,7 +122,7 @@
"editor-panel.tooltip-topic-share-line": {
"defaultMessage": "Forma de linea"
},
- "editor-panel.tooltip-topic-share-rectagle": {
+ "editor-panel.tooltip-topic-share-rectangle": {
"defaultMessage": "Forma rectagular"
},
"editor-panel.tooltip-topic-share-rounded": {
diff --git a/packages/editor/lang/fr.json b/packages/editor/lang/fr.json
index 240275fa..e152efe2 100644
--- a/packages/editor/lang/fr.json
+++ b/packages/editor/lang/fr.json
@@ -122,7 +122,7 @@
"editor-panel.tooltip-topic-share-line": {
"defaultMessage": "Figura linea"
},
- "editor-panel.tooltip-topic-share-rectagle": {
+ "editor-panel.tooltip-topic-share-rectangle": {
"defaultMessage": "Figura rectangulo"
},
"editor-panel.tooltip-topic-share-rounded": {
diff --git a/packages/editor/src/compiled-lang/de.json b/packages/editor/src/compiled-lang/de.json
index cd25a8e3..e1fc7c6c 100644
--- a/packages/editor/src/compiled-lang/de.json
+++ b/packages/editor/src/compiled-lang/de.json
@@ -197,7 +197,7 @@
"value": "Linienform"
}
],
- "editor-panel.tooltip-topic-share-rectagle": [
+ "editor-panel.tooltip-topic-share-rectangle": [
{
"type": 0,
"value": "Rechteckform"
diff --git a/packages/editor/src/compiled-lang/en.json b/packages/editor/src/compiled-lang/en.json
index 662633d8..f2961de0 100644
--- a/packages/editor/src/compiled-lang/en.json
+++ b/packages/editor/src/compiled-lang/en.json
@@ -191,10 +191,10 @@
"value": "Line shape"
}
],
- "editor-panel.tooltip-topic-share-rectagle": [
+ "editor-panel.tooltip-topic-share-rectangle": [
{
"type": 0,
- "value": "Rectagle shape"
+ "value": "Rectangle shape"
}
],
"editor-panel.tooltip-topic-share-rounded": [
diff --git a/packages/editor/src/compiled-lang/es.json b/packages/editor/src/compiled-lang/es.json
index 47253154..54a2365b 100644
--- a/packages/editor/src/compiled-lang/es.json
+++ b/packages/editor/src/compiled-lang/es.json
@@ -191,7 +191,7 @@
"value": "Forma de linea"
}
],
- "editor-panel.tooltip-topic-share-rectagle": [
+ "editor-panel.tooltip-topic-share-rectangle": [
{
"type": 0,
"value": "Forma rectagular"
diff --git a/packages/editor/src/compiled-lang/fr.json b/packages/editor/src/compiled-lang/fr.json
index f16eef75..b63193cc 100644
--- a/packages/editor/src/compiled-lang/fr.json
+++ b/packages/editor/src/compiled-lang/fr.json
@@ -191,7 +191,7 @@
"value": "Figura linea"
}
],
- "editor-panel.tooltip-topic-share-rectagle": [
+ "editor-panel.tooltip-topic-share-rectangle": [
{
"type": 0,
"value": "Figura rectangulo"
diff --git a/packages/editor/src/components/editor-toolbar/configBuilder.tsx b/packages/editor/src/components/editor-toolbar/configBuilder.tsx
index ed1ad2d0..e95b5a03 100644
--- a/packages/editor/src/components/editor-toolbar/configBuilder.tsx
+++ b/packages/editor/src/components/editor-toolbar/configBuilder.tsx
@@ -64,11 +64,11 @@ export function buildEditorPanelConfig(model: Editor): ActionConfig[] {
{
icon: ,
tooltip: intl.formatMessage({
- id: 'editor-panel.tooltip-topic-share-rectagle',
- defaultMessage: 'Rectagle shape',
+ id: 'editor-panel.tooltip-topic-share-rectangle',
+ defaultMessage: 'Rectangle shape',
}),
- onClick: () => toolbarValueModelBuilder.getTopicShapeModel().setValue('rectagle'),
- selected: () => toolbarValueModelBuilder.getTopicShapeModel().getValue() === 'rectagle',
+ onClick: () => toolbarValueModelBuilder.getTopicShapeModel().setValue('rectangle'),
+ selected: () => toolbarValueModelBuilder.getTopicShapeModel().getValue() === 'rectangle',
},
{
icon: ,
@@ -76,9 +76,9 @@ export function buildEditorPanelConfig(model: Editor): ActionConfig[] {
id: 'editor-panel.tooltip-topic-share-rounded',
defaultMessage: 'Rounded shape',
}),
- onClick: () => toolbarValueModelBuilder.getTopicShapeModel().setValue('rounded rectagle'),
+ onClick: () => toolbarValueModelBuilder.getTopicShapeModel().setValue('rounded rectangle'),
selected: () =>
- toolbarValueModelBuilder.getTopicShapeModel().getValue() === 'rounded rectagle',
+ toolbarValueModelBuilder.getTopicShapeModel().getValue() === 'rounded rectangle',
},
{
icon: ,
diff --git a/packages/editor/src/components/toolbar/index.tsx b/packages/editor/src/components/toolbar/index.tsx
index 8d39f385..b96203f9 100644
--- a/packages/editor/src/components/toolbar/index.tsx
+++ b/packages/editor/src/components/toolbar/index.tsx
@@ -40,7 +40,7 @@ export const ToolbarButtonOption = (props: { configuration: ActionConfig }) => {
arrow={true}
enterDelay={700}
>
-
+
-
@@ -113,26 +113,26 @@
-
-
+
-
+
-
+
-
@@ -173,7 +173,7 @@
+ shape="rounded rectangle" id="132">
@@ -190,7 +190,7 @@
-
@@ -198,10 +198,10 @@
-
-
+
@@ -233,7 +233,7 @@
-
diff --git a/packages/editor/test/playground/map-render/samples/emptyNodes.wxml b/packages/editor/test/playground/map-render/samples/emptyNodes.wxml
index 9c08eb07..f428adfb 100644
--- a/packages/editor/test/playground/map-render/samples/emptyNodes.wxml
+++ b/packages/editor/test/playground/map-render/samples/emptyNodes.wxml
@@ -1,32 +1,32 @@
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/cdata-support.wxml b/packages/mindplot/test/unit/export/expected/cdata-support.wxml
index 0a4fa345..fe1172ed 100644
--- a/packages/mindplot/test/unit/export/expected/cdata-support.wxml
+++ b/packages/mindplot/test/unit/export/expected/cdata-support.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/complex.wxml b/packages/mindplot/test/unit/export/expected/complex.wxml
index 76b3603a..bd33c618 100644
--- a/packages/mindplot/test/unit/export/expected/complex.wxml
+++ b/packages/mindplot/test/unit/export/expected/complex.wxml
@@ -23,7 +23,7 @@ brought recently for "permissions to ask your references about you"
in the online form so that we don't have to follow up with this
later.
-Attached below a sample of such screening questions]]>
\ No newline at end of file
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/enc.mm b/packages/mindplot/test/unit/export/expected/enc.mm
index 75ceef6b..7859f6c6 100644
--- a/packages/mindplot/test/unit/export/expected/enc.mm
+++ b/packages/mindplot/test/unit/export/expected/enc.mm
@@ -1,6 +1,6 @@
-
+
@@ -84,7 +84,7 @@
-
+
@@ -206,7 +206,7 @@
-
+
diff --git a/packages/mindplot/test/unit/export/expected/enc.wxml b/packages/mindplot/test/unit/export/expected/enc.wxml
index 8194da80..0fa1fb27 100644
--- a/packages/mindplot/test/unit/export/expected/enc.wxml
+++ b/packages/mindplot/test/unit/export/expected/enc.wxml
@@ -1,4 +1,4 @@
-
\ No newline at end of file
+]]>
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/huge.mm b/packages/mindplot/test/unit/export/expected/huge.mm
index 27753e70..6bc9673f 100644
--- a/packages/mindplot/test/unit/export/expected/huge.mm
+++ b/packages/mindplot/test/unit/export/expected/huge.mm
@@ -55,7 +55,7 @@
-
+
diff --git a/packages/mindplot/test/unit/export/expected/i18n.wxml b/packages/mindplot/test/unit/export/expected/i18n.wxml
index ba46f4c7..018630e4 100644
--- a/packages/mindplot/test/unit/export/expected/i18n.wxml
+++ b/packages/mindplot/test/unit/export/expected/i18n.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/i18n2.wxml b/packages/mindplot/test/unit/export/expected/i18n2.wxml
index 29489ecd..2d3449df 100644
--- a/packages/mindplot/test/unit/export/expected/i18n2.wxml
+++ b/packages/mindplot/test/unit/export/expected/i18n2.wxml
@@ -1,2 +1,2 @@
-
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/issue.mm b/packages/mindplot/test/unit/export/expected/issue.mm
index 1586b623..2717e210 100644
--- a/packages/mindplot/test/unit/export/expected/issue.mm
+++ b/packages/mindplot/test/unit/export/expected/issue.mm
@@ -75,7 +75,7 @@
-
+
@@ -88,7 +88,7 @@
-
+
@@ -100,20 +100,20 @@
-
+
-
+
-
+
-
+
@@ -125,24 +125,24 @@
-
+
-
+
-
+
-
+
-
+
diff --git a/packages/mindplot/test/unit/export/expected/issue.wxml b/packages/mindplot/test/unit/export/expected/issue.wxml
index 60133dc8..15e23d69 100644
--- a/packages/mindplot/test/unit/export/expected/issue.wxml
+++ b/packages/mindplot/test/unit/export/expected/issue.wxml
@@ -1,18 +1,18 @@
-
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/npe.wxml b/packages/mindplot/test/unit/export/expected/npe.wxml
index 0daf4107..6d9c6bf4 100644
--- a/packages/mindplot/test/unit/export/expected/npe.wxml
+++ b/packages/mindplot/test/unit/export/expected/npe.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/process.wxml b/packages/mindplot/test/unit/export/expected/process.wxml
index 12af363d..c6a4f998 100644
--- a/packages/mindplot/test/unit/export/expected/process.wxml
+++ b/packages/mindplot/test/unit/export/expected/process.wxml
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/expected/sample2.mm b/packages/mindplot/test/unit/export/expected/sample2.mm
index c2720bc7..d201fb56 100644
--- a/packages/mindplot/test/unit/export/expected/sample2.mm
+++ b/packages/mindplot/test/unit/export/expected/sample2.mm
@@ -10,7 +10,7 @@
-
+
diff --git a/packages/mindplot/test/unit/export/input/bug2.wxml b/packages/mindplot/test/unit/export/input/bug2.wxml
index 713e55e2..2f170682 100644
--- a/packages/mindplot/test/unit/export/input/bug2.wxml
+++ b/packages/mindplot/test/unit/export/input/bug2.wxml
@@ -30,7 +30,7 @@
-
\ No newline at end of file
+by the FASIE per 1,000 workers [awards/worker] ]]>
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/export/input/cdata-support.wxml b/packages/mindplot/test/unit/export/input/cdata-support.wxml
index 4d262220..934bb9e8 100644
--- a/packages/mindplot/test/unit/export/input/cdata-support.wxml
+++ b/packages/mindplot/test/unit/export/input/cdata-support.wxml
@@ -1,5 +1,5 @@
-
+
diff --git a/packages/mindplot/test/unit/export/input/complex.wxml b/packages/mindplot/test/unit/export/input/complex.wxml
index c9e716e6..064e9cc2 100644
--- a/packages/mindplot/test/unit/export/input/complex.wxml
+++ b/packages/mindplot/test/unit/export/input/complex.wxml
@@ -92,7 +92,7 @@
-
@@ -113,26 +113,26 @@
-
-
+
-
+
-
+
-
@@ -173,7 +173,7 @@
+ shape="rounded rectangle" id="132">
@@ -190,7 +190,7 @@
-
@@ -198,10 +198,10 @@
-
-
+
@@ -233,7 +233,7 @@
-
diff --git a/packages/mindplot/test/unit/export/input/emptyNodes.wxml b/packages/mindplot/test/unit/export/input/emptyNodes.wxml
index 9c08eb07..f428adfb 100644
--- a/packages/mindplot/test/unit/export/input/emptyNodes.wxml
+++ b/packages/mindplot/test/unit/export/input/emptyNodes.wxml
@@ -1,32 +1,32 @@
+ bgColor="#ffcc33" fontStyle="Arial;16;#0000cc;bold;;" shape="rounded rectangle">
+ bgColor="#ffcc33" fontStyle="Arial;16;#0000cc;bold;;" shape="rounded rectangle">
+ bgColor="#ffff33" fontStyle="Arial;14;#0000cc;bold;;" shape="rounded rectangle">
+ bgColor="#ffff33" fontStyle="Arial;14;#0000cc;bold;;" shape="rounded rectangle">
+ bgColor="#ffff33" fontStyle="Arial;14;#0000cc;bold;;" shape="rounded rectangle">
+ bgColor="#ffcc33" fontStyle="Arial;16;#0000cc;bold;;" shape="rounded rectangle">
+ bgColor="#ffff33" fontStyle="Arial;14;#0000cc;bold;;" shape="rounded rectangle">
@@ -147,7 +147,7 @@
+ bgColor="#ffff33" fontStyle="Arial;14;#0000cc;bold;;" shape="rounded rectangle">
diff --git a/packages/mindplot/test/unit/export/input/enc.wxml b/packages/mindplot/test/unit/export/input/enc.wxml
index 36358ae4..e67fe74a 100644
--- a/packages/mindplot/test/unit/export/input/enc.wxml
+++ b/packages/mindplot/test/unit/export/input/enc.wxml
@@ -2,7 +2,7 @@
+ shape="rectangle" id="5" bgColor="#cccccc" brColor="#cccccc">
-
-
diff --git a/packages/mindplot/test/unit/export/input/i18n.wxml b/packages/mindplot/test/unit/export/input/i18n.wxml
index 678c2c6c..fec9c8c0 100644
--- a/packages/mindplot/test/unit/export/input/i18n.wxml
+++ b/packages/mindplot/test/unit/export/input/i18n.wxml
@@ -1,6 +1,6 @@
-
+
diff --git a/packages/mindplot/test/unit/export/input/i18n2.wxml b/packages/mindplot/test/unit/export/input/i18n2.wxml
index 94ce5659..9746fc90 100644
--- a/packages/mindplot/test/unit/export/input/i18n2.wxml
+++ b/packages/mindplot/test/unit/export/input/i18n2.wxml
@@ -1,6 +1,6 @@
-
+
diff --git a/packages/mindplot/test/unit/export/input/issue.wxml b/packages/mindplot/test/unit/export/input/issue.wxml
index e957fa3d..8cb5aa99 100644
--- a/packages/mindplot/test/unit/export/input/issue.wxml
+++ b/packages/mindplot/test/unit/export/input/issue.wxml
@@ -1,67 +1,67 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -79,37 +79,37 @@ calculo navegar en internet, base de datos, etc.]]>
-
-
-
-
-
-
-
-
diff --git a/packages/mindplot/test/unit/export/input/npe.wxml b/packages/mindplot/test/unit/export/input/npe.wxml
index 359233bb..9995bd1f 100644
--- a/packages/mindplot/test/unit/export/input/npe.wxml
+++ b/packages/mindplot/test/unit/export/input/npe.wxml
@@ -1,40 +1,40 @@
-
-
+
-
-
+
-
+
-
+
-
+
diff --git a/packages/mindplot/test/unit/export/input/process.wxml b/packages/mindplot/test/unit/export/input/process.wxml
index b423097e..f9473846 100644
--- a/packages/mindplot/test/unit/export/input/process.wxml
+++ b/packages/mindplot/test/unit/export/input/process.wxml
@@ -1,6 +1,6 @@
-
+
@@ -85,27 +85,27 @@
+ position="380,-225" shape="rounded rectangle">
+ position="380,-200" shape="rounded rectangle">
+ position="290,-175" shape="rounded rectangle">
+ position="290,-150" shape="rounded rectangle">
@@ -126,7 +126,7 @@
+ position="380,-50" shape="rounded rectangle">
@@ -134,7 +134,7 @@
+ position="290,-25" shape="rounded rectangle">
diff --git a/packages/mindplot/test/unit/import/expected/SQLServer.wxml b/packages/mindplot/test/unit/import/expected/SQLServer.wxml
index d5411c31..c93be2c5 100644
--- a/packages/mindplot/test/unit/import/expected/SQLServer.wxml
+++ b/packages/mindplot/test/unit/import/expected/SQLServer.wxml
@@ -1,59 +1,59 @@
-
-
-
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/packages/mindplot/test/unit/import/expected/bug2.wxml b/packages/mindplot/test/unit/import/expected/bug2.wxml
index 9e9dc0eb..0389812a 100644
--- a/packages/mindplot/test/unit/import/expected/bug2.wxml
+++ b/packages/mindplot/test/unit/import/expected/bug2.wxml
@@ -27,7 +27,7 @@
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -58,9 +58,9 @@
-
+
-
+
@@ -79,7 +79,7 @@
-
+
@@ -358,9 +358,9 @@
-
+
-
+
@@ -414,13 +414,13 @@ international)
-
+
-
+
@@ -436,7 +436,7 @@ international)
-
+
@@ -459,9 +459,9 @@ international)
-
+
-
+
@@ -503,16 +503,16 @@ international)
-
+
-
-
+
+
-
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/import/expected/coderToDeveloper.wxml b/packages/mindplot/test/unit/import/expected/coderToDeveloper.wxml
index df0cd6a6..5ca946c7 100644
--- a/packages/mindplot/test/unit/import/expected/coderToDeveloper.wxml
+++ b/packages/mindplot/test/unit/import/expected/coderToDeveloper.wxml
@@ -1,86 +1,86 @@
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/packages/mindplot/test/unit/import/expected/emptyNodes.wxml b/packages/mindplot/test/unit/import/expected/emptyNodes.wxml
index 50803a15..488524ab 100644
--- a/packages/mindplot/test/unit/import/expected/emptyNodes.wxml
+++ b/packages/mindplot/test/unit/import/expected/emptyNodes.wxml
@@ -1,12 +1,12 @@
-
-
-
-
+
+
+
+
-
-
+
+
@@ -50,7 +50,7 @@
-
+
diff --git a/packages/mindplot/test/unit/import/expected/enc.wxml b/packages/mindplot/test/unit/import/expected/enc.wxml
index d3e663f6..f7abf944 100644
--- a/packages/mindplot/test/unit/import/expected/enc.wxml
+++ b/packages/mindplot/test/unit/import/expected/enc.wxml
@@ -1,6 +1,6 @@
-
+
@@ -55,7 +55,7 @@ tb.]]>
-
+
-
+
diff --git a/packages/mindplot/test/unit/import/expected/freeMind_resources.wxml b/packages/mindplot/test/unit/import/expected/freeMind_resources.wxml
index 2f024a6c..7a390247 100644
--- a/packages/mindplot/test/unit/import/expected/freeMind_resources.wxml
+++ b/packages/mindplot/test/unit/import/expected/freeMind_resources.wxml
@@ -65,7 +65,7 @@ Ctrl + F in your browser?]]>
-
+
diff --git a/packages/mindplot/test/unit/import/expected/issue.wxml b/packages/mindplot/test/unit/import/expected/issue.wxml
index b7fe5309..660159ff 100644
--- a/packages/mindplot/test/unit/import/expected/issue.wxml
+++ b/packages/mindplot/test/unit/import/expected/issue.wxml
@@ -1,50 +1,50 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/mindplot/test/unit/import/expected/process.wxml b/packages/mindplot/test/unit/import/expected/process.wxml
index 21972ee1..083fce0f 100644
--- a/packages/mindplot/test/unit/import/expected/process.wxml
+++ b/packages/mindplot/test/unit/import/expected/process.wxml
@@ -33,17 +33,17 @@
-
+
-
+
-
+
-
+
@@ -52,11 +52,11 @@
-
+
-
+
diff --git a/packages/mindplot/test/unit/import/expected/pub_sub.wxml b/packages/mindplot/test/unit/import/expected/pub_sub.wxml
index a8c567d7..c6fb262f 100644
--- a/packages/mindplot/test/unit/import/expected/pub_sub.wxml
+++ b/packages/mindplot/test/unit/import/expected/pub_sub.wxml
@@ -1,6 +1,6 @@
-
+
@@ -16,8 +16,8 @@
-
-
+
+
@@ -56,8 +56,8 @@
-
-
+
+
@@ -165,14 +165,14 @@
-
+
-
+
@@ -196,7 +196,7 @@
-
+
diff --git a/packages/mindplot/test/unit/import/expected/python.wxml b/packages/mindplot/test/unit/import/expected/python.wxml
index 51fc0e1b..9f9b41b0 100644
--- a/packages/mindplot/test/unit/import/expected/python.wxml
+++ b/packages/mindplot/test/unit/import/expected/python.wxml
@@ -1,96 +1,96 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
+
+
+
+
@@ -98,91 +98,91 @@
-
+
-
-
+
+
-
+
-
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
+
+
+
+
-
-
+
+
@@ -195,15 +195,15 @@
-
-
-
+
+
+
-
+
-
+
@@ -215,69 +215,69 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
diff --git a/packages/mindplot/test/unit/import/input/enc.mm b/packages/mindplot/test/unit/import/input/enc.mm
index 48f63d6a..0aa5e305 100644
--- a/packages/mindplot/test/unit/import/input/enc.mm
+++ b/packages/mindplot/test/unit/import/input/enc.mm
@@ -1,6 +1,6 @@
-
+
@@ -84,7 +84,7 @@
-
+
@@ -206,7 +206,7 @@
-
+
diff --git a/packages/mindplot/test/unit/import/input/issue.mm b/packages/mindplot/test/unit/import/input/issue.mm
index 1586b623..2717e210 100644
--- a/packages/mindplot/test/unit/import/input/issue.mm
+++ b/packages/mindplot/test/unit/import/input/issue.mm
@@ -75,7 +75,7 @@
-
+
@@ -88,7 +88,7 @@
-
+
@@ -100,20 +100,20 @@
-
+
-
+
-
+
-
+
@@ -125,24 +125,24 @@
-
+
-
+
-
+
-
+
-
+
diff --git a/packages/web2d/cypress/snapshots/playground.cy.js/Font.snap.png b/packages/web2d/cypress/snapshots/playground.cy.js/Font.snap.png
index c5fe6c76..324044e9 100644
Binary files a/packages/web2d/cypress/snapshots/playground.cy.js/Font.snap.png and b/packages/web2d/cypress/snapshots/playground.cy.js/Font.snap.png differ
diff --git a/packages/web2d/cypress/snapshots/playground.cy.js/Text.snap.png b/packages/web2d/cypress/snapshots/playground.cy.js/Text.snap.png
index 2b2d946d..7c066b13 100644
Binary files a/packages/web2d/cypress/snapshots/playground.cy.js/Text.snap.png and b/packages/web2d/cypress/snapshots/playground.cy.js/Text.snap.png differ
diff --git a/packages/web2d/src/components/peer/svg/FontPeer.js b/packages/web2d/src/components/peer/svg/FontPeer.js
index ba22d0c7..5d99da52 100644
--- a/packages/web2d/src/components/peer/svg/FontPeer.js
+++ b/packages/web2d/src/components/peer/svg/FontPeer.js
@@ -50,11 +50,11 @@ class FontPeer {
result = (this._size * scale.height * 42) / 32;
}
- return result;
+ return result.toFixed(1);
}
getGraphSize() {
- return (this._size * 43) / 32;
+ return ((this._size * 43) / 32).toFixed(1);
}
getSize() {
diff --git a/packages/web2d/src/components/peer/svg/RectPeer.js b/packages/web2d/src/components/peer/svg/RectPeer.js
index b5799188..8f59b05c 100644
--- a/packages/web2d/src/components/peer/svg/RectPeer.js
+++ b/packages/web2d/src/components/peer/svg/RectPeer.js
@@ -51,8 +51,8 @@ class RectPeer extends ElementPeer {
if ($defined(this._arc)) {
// Transform percentages to SVG format.
const arc = (min / 2) * this._arc;
- this._native.setAttribute('rx', arc);
- this._native.setAttribute('ry', arc);
+ this._native.setAttribute('rx', arc.toFixed(1));
+ this._native.setAttribute('ry', arc.toFixed(1));
}
}
}
diff --git a/packages/webapp/cypress/snapshots/maps.cy.ts/maps-create.snap.png b/packages/webapp/cypress/snapshots/maps.cy.ts/maps-create.snap.png
new file mode 100644
index 00000000..736d74d1
Binary files /dev/null and b/packages/webapp/cypress/snapshots/maps.cy.ts/maps-create.snap.png differ
diff --git a/packages/webapp/cypress/snapshots/maps.cy.ts/maps.snap.png b/packages/webapp/cypress/snapshots/maps.cy.ts/maps.snap.png
new file mode 100644
index 00000000..8f2d685a
Binary files /dev/null and b/packages/webapp/cypress/snapshots/maps.cy.ts/maps.snap.png differ