From de859927ed1292b4dc7b8e7f4b51223e86809bb9 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Fri, 14 Apr 2023 23:03:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/assets/.DS_Store | Bin 8196 -> 10244 bytes web/src/pages/Doc/en/changelog/index.md | 6 +++++- web/src/pages/Doc/en/changelog/index.vue | 4 +++- web/src/pages/Doc/en/constructor/index.md | 3 ++- web/src/pages/Doc/en/constructor/index.vue | 9 ++++++++- web/src/pages/Doc/zh/changelog/index.md | 6 +++++- web/src/pages/Doc/zh/changelog/index.vue | 4 +++- web/src/pages/Doc/zh/constructor/index.md | 3 ++- web/src/pages/Doc/zh/constructor/index.vue | 9 ++++++++- 9 files changed, 36 insertions(+), 8 deletions(-) diff --git a/web/src/assets/.DS_Store b/web/src/assets/.DS_Store index 96b4153174a7248b59443adb0ccd844313c239e9..5ab405d28582ffbce21cee8548650f439e870523 100644 GIT binary patch delta 1778 zcmc(fT}&KR6vyv>DRhRR>|IzsXOUe{3YO9ZilFvmVM~>dmX!~I)`GLl6vpn(Zg*xE zS|r;T9@N?<%_eGEP2*P^tv(QJqxMZ(lg9XE`{o0sgb;MZY{;?Klr-G z8Ob6l36sg-v>pwHB0)BHIT#J8y5aSH4qMi$?3~pcpDXY}zQFGpn2Jmf7?Kg!JEYh+ zbq%Pp5|m=Ys%%URDq3eqNhn%htXDFW)EMnb?lu<$Bx8zA;;MZL+nqf;$B)zU+1aM1 zmX><=#^#o}diQK&qqo&m?wOn8Ij(H&_WrT>6GxAqc=feYr!QQz76O(ej*MIpAF@HF zkdU76TZPy@^R86##<7kFy~;PVM?cED{O@ zBD!j*5p8tDP-ct)^`P=E*T^nC5;OdfP&}-Ss1p&*npKccmFd2yxmbT#iRn!8{F(fc z$~$YBRf!Evo4;{1^{b;~jm^pPOQmJycF`r?kt!>w zNfuCtUGRw2JYD1-ky)}kBC@$mUNSwRM_kKsyG^@4rm(M^j!<{EC=BW>aVl|q+S0H= z5C-?DnoM;T!OWt0qaY52q@WU_GS8(=ZTAY|aKg%)_N0wTN5SSTf;ch}35Qw2x&!sh zo(a8;w zS~>+Iw}N;{2k9nbBuWk>$zk#=IZ56oXURG8KKY1TCRfOJ6j{!-p<(qX)xy6bdFW1r;$&;{Xm~7V~%-&)^7-;yIkeOL!Tt;7y#xJ9roG z;R9U2MJ(ZKB)`WG_z_oe4Zqv6ZMn8WD^uGFl2&0Wpt>+n>G%KyT zyh0PlFr?X*w?$~>8K`uX<-JeXl;jwYG{kld9g3-U(QO|T@N{J)^(pgS&Yi`QA$N!M;1|Z6}R=CpZUM;`9A^IcDN+~ delta 106 zcmZn(XmOBWU|?W$DortDU;r^WfEYvza8E20o2aMA$gweCH$NlC$o0SAkvTa^1 uE5j(r3{(OH65K$-6{LD&;dkcA{3?MQj1V&zCdczk-TYVN9V1YKBqIP8*A=w@ diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index 5ec7984c..651e9fb7 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -2,7 +2,11 @@ ## 0.5.4 -New: 1.Add new themes. +New: 1.Add new themes. 2.Added timeline and fishbone structure. + +Fix: 1.Fix the conflict issue between node right-click and canvas right-click. 2.Fix the bug that the line segment is not hidden when dragging nodes such as organizational chart and directory organization chart. + +optimization: 1.Optimize the layout of organizational chart. 2.Optimize the layout of the directory organization chart. ## 0.5.3 diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index c076a0d1..83b64dad 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -2,7 +2,9 @@

Changelog

0.5.4

-

New: 1.Add new themes.

+

New: 1.Add new themes. 2.Added timeline and fishbone structure.

+

Fix: 1.Fix the conflict issue between node right-click and canvas right-click. 2.Fix the bug that the line segment is not hidden when dragging nodes such as organizational chart and directory organization chart.

+

optimization: 1.Optimize the layout of organizational chart. 2.Optimize the layout of the directory organization chart.

0.5.3

Fix: 1.Fixed the issue of setting the text style when multiple nodes were selected in rich text mode, which would change the text of all selected nodes to the text of the last selected node.

New: 1.Support setting the position of the initial central node.

diff --git a/web/src/pages/Doc/en/constructor/index.md b/web/src/pages/Doc/en/constructor/index.md index 0a84f272..05d38c83 100644 --- a/web/src/pages/Doc/en/constructor/index.md +++ b/web/src/pages/Doc/en/constructor/index.md @@ -26,7 +26,8 @@ const mindMap = new MindMap({ | -------------------------------- | ------- | ---------------- | ------------------------------------------------------------ | -------- | | el | Element | | Container element, must be a DOM element | Yes | | data | Object | {} | Mind map data, refer to: https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/example/exampleData.js | | -| layout | String | logicalStructure | Layout type, options: logicalStructure (logical structure diagram), mindMap (mind map), catalogOrganization (catalog organization diagram), organizationStructure (organization structure diagram) | | +| layout | String | logicalStructure | Layout type, options: logicalStructure (logical structure diagram), mindMap (mind map), catalogOrganization (catalog organization diagram), organizationStructure (organization structure diagram)、timeline(v0.5.4+, timeline)、timeline2(v0.5.4+, up down alternating timeline)、fishbone(v0.5.4+, fishbone diagram) | | +| fishboneDeg(v0.5.4+) | Number | 45 | Set the diagonal angle of the fishbone structure diagram | | | theme | String | default | Theme, options: default, classic, minions, pinkGrape, mint, gold, vitalityOrange, greenLeaf, dark2, skyGreen, classic2, classic3, classic4(v0.2.0+), classicGreen, classicBlue, blueSky, brainImpairedPink, dark, earthYellow, freshGreen, freshRed, romanticPurple, simpleBlack(v0.5.4+), courseGreen(v0.5.4+), coffee(v0.5.4+), redSpirit(v0.5.4+), blackHumour(v0.5.4+), lateNightOffice(v0.5.4+), blackGold(v0.5.4+) | | | themeConfig | Object | {} | Theme configuration, will be merged with the selected theme, available fields refer to: https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/themes/default.js | | | scaleRatio | Number | 0.1 | The incremental scaling ratio | | diff --git a/web/src/pages/Doc/en/constructor/index.vue b/web/src/pages/Doc/en/constructor/index.vue index a407759d..b345d449 100644 --- a/web/src/pages/Doc/en/constructor/index.vue +++ b/web/src/pages/Doc/en/constructor/index.vue @@ -46,7 +46,14 @@ layout String logicalStructure -Layout type, options: logicalStructure (logical structure diagram), mindMap (mind map), catalogOrganization (catalog organization diagram), organizationStructure (organization structure diagram) +Layout type, options: logicalStructure (logical structure diagram), mindMap (mind map), catalogOrganization (catalog organization diagram), organizationStructure (organization structure diagram)、timeline(v0.5.4+, timeline)、timeline2(v0.5.4+, up down alternating timeline)、fishbone(v0.5.4+, fishbone diagram) + + + +fishboneDeg(v0.5.4+) +Number +45 +Set the diagonal angle of the fishbone structure diagram diff --git a/web/src/pages/Doc/zh/changelog/index.md b/web/src/pages/Doc/zh/changelog/index.md index 45b81f14..f02771ae 100644 --- a/web/src/pages/Doc/zh/changelog/index.md +++ b/web/src/pages/Doc/zh/changelog/index.md @@ -2,7 +2,11 @@ ## 0.5.4 -新增:1.添加新主题。 +新增:1.添加新主题。 2.新增时间轴和鱼骨结构。 + +修复:1.修复节点右键和画布右键的冲突问题。 2.修复组织结构图、目录组织图等节点拖拽时存在线段未隐藏的bug。 + +优化:1.优化组织结构图布局。2.优化目录组织图布局。 ## 0.5.3 diff --git a/web/src/pages/Doc/zh/changelog/index.vue b/web/src/pages/Doc/zh/changelog/index.vue index c4029fce..e02cf99d 100644 --- a/web/src/pages/Doc/zh/changelog/index.vue +++ b/web/src/pages/Doc/zh/changelog/index.vue @@ -2,7 +2,9 @@

Changelog

0.5.4

-

新增:1.添加新主题。

+

新增:1.添加新主题。 2.新增时间轴和鱼骨结构。

+

修复:1.修复节点右键和画布右键的冲突问题。 2.修复组织结构图、目录组织图等节点拖拽时存在线段未隐藏的bug。

+

优化:1.优化组织结构图布局。2.优化目录组织图布局。

0.5.3

修复:1.修复富文本模式下,如果选择了多个节点时设置文本样式,会将所有多选节点的文本改成最后一个多选节点的文本的问题。

新增:1.支持设置初始中心节点的位置。

diff --git a/web/src/pages/Doc/zh/constructor/index.md b/web/src/pages/Doc/zh/constructor/index.md index 4a6337b0..1c9d232a 100644 --- a/web/src/pages/Doc/zh/constructor/index.md +++ b/web/src/pages/Doc/zh/constructor/index.md @@ -26,7 +26,8 @@ const mindMap = new MindMap({ | -------------------------------- | ------- | ---------------- | ------------------------------------------------------------ | -------- | | el | Element | | 容器元素,必须为DOM元素 | 是 | | data | Object | {} | 思维导图数据,可参考:[https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/example/exampleData.js](https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/example/exampleData.js) | | -| layout | String | logicalStructure | 布局类型,可选列表:logicalStructure(逻辑结构图)、mindMap(思维导图)、catalogOrganization(目录组织图)、organizationStructure(组织结构图) | | +| layout | String | logicalStructure | 布局类型,可选列表:logicalStructure(逻辑结构图)、mindMap(思维导图)、catalogOrganization(目录组织图)、organizationStructure(组织结构图)、timeline(v0.5.4+,时间轴)、timeline2(v0.5.4+,上下交替型时间轴)、fishbone(v0.5.4+,鱼骨图) | | +| fishboneDeg(v0.5.4+) | Number | 45 | 设置鱼骨结构图的斜线角度 | | | theme | String | default | 主题,可选列表:default(默认)、classic(脑图经典)、minions(小黄人)、pinkGrape(粉红葡萄)、mint(薄荷)、gold(金色vip)、vitalityOrange(活力橙)、greenLeaf(绿叶)、dark2(暗色2)、skyGreen(天清绿)、classic2(脑图经典2)、classic3(脑图经典3)、classic4(脑图经典4,v0.2.0+)、classicGreen(经典绿)、classicBlue(经典蓝)、blueSky(天空蓝)、brainImpairedPink(脑残粉)、dark(暗色)、earthYellow(泥土黄)、freshGreen(清新绿)、freshRed(清新红)、romanticPurple(浪漫紫)、simpleBlack(v0.5.4+简约黑)、courseGreen(v0.5.4+课程绿)、coffee(v0.5.4+咖啡)、redSpirit(v0.5.4+红色精神)、blackHumour(v0.5.4+黑色幽默)、lateNightOffice(v0.5.4+深夜办公室)、blackGold(v0.5.4+黑金) | | | themeConfig | Object | {} | 主题配置,会和所选择的主题进行合并,可用字段可参考:[https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/themes/default.js](https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/themes/default.js) | | | scaleRatio | Number | 0.1 | 放大缩小的增量比例 | | diff --git a/web/src/pages/Doc/zh/constructor/index.vue b/web/src/pages/Doc/zh/constructor/index.vue index b39d2082..25864b6e 100644 --- a/web/src/pages/Doc/zh/constructor/index.vue +++ b/web/src/pages/Doc/zh/constructor/index.vue @@ -46,7 +46,14 @@ layout String logicalStructure -布局类型,可选列表:logicalStructure(逻辑结构图)、mindMap(思维导图)、catalogOrganization(目录组织图)、organizationStructure(组织结构图) +布局类型,可选列表:logicalStructure(逻辑结构图)、mindMap(思维导图)、catalogOrganization(目录组织图)、organizationStructure(组织结构图)、timeline(v0.5.4+,时间轴)、timeline2(v0.5.4+,上下交替型时间轴)、fishbone(v0.5.4+,鱼骨图) + + + +fishboneDeg(v0.5.4+) +Number +45 +设置鱼骨结构图的斜线角度