mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-17 22:08:25 +08:00
Demo:新增向左逻辑结构图
This commit is contained in:
BIN
web/src/assets/img/structures/logicalStructureLeft.jpg
Normal file
BIN
web/src/assets/img/structures/logicalStructureLeft.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
@@ -1,6 +1,7 @@
|
||||
// 布局结构图片映射
|
||||
export const layoutImgMap = {
|
||||
logicalStructure: require('../assets/img/structures/logicalStructure.png'),
|
||||
logicalStructureLeft: require('../assets/img/structures/logicalStructureLeft.jpg'),
|
||||
mindMap: require('../assets/img/structures/mindMap.png'),
|
||||
organizationStructure: require('../assets/img/structures/organizationStructure.png'),
|
||||
catalogOrganization: require('../assets/img/structures/catalogOrganization.png'),
|
||||
@@ -85,9 +86,15 @@ export const formulaList = [
|
||||
]
|
||||
|
||||
export const supportLineStyleLayoutsMap = {
|
||||
curve: ['logicalStructure', 'mindMap', 'verticalTimeline'],
|
||||
curve: [
|
||||
'logicalStructure',
|
||||
'logicalStructureLeft',
|
||||
'mindMap',
|
||||
'verticalTimeline'
|
||||
],
|
||||
direct: [
|
||||
'logicalStructure',
|
||||
'logicalStructureLeft',
|
||||
'mindMap',
|
||||
'organizationStructure',
|
||||
'verticalTimeline'
|
||||
@@ -96,12 +103,14 @@ export const supportLineStyleLayoutsMap = {
|
||||
|
||||
export const supportLineRadiusLayouts = [
|
||||
'logicalStructure',
|
||||
'logicalStructureLeft',
|
||||
'mindMap',
|
||||
'verticalTimeline'
|
||||
]
|
||||
|
||||
export const supportNodeUseLineStyleLayouts = [
|
||||
'logicalStructure',
|
||||
'logicalStructureLeft',
|
||||
'mindMap',
|
||||
'catalogOrganization',
|
||||
'organizationStructure'
|
||||
@@ -109,6 +118,7 @@ export const supportNodeUseLineStyleLayouts = [
|
||||
|
||||
export const supportRootLineKeepSameInCurveLayouts = [
|
||||
'logicalStructure',
|
||||
'logicalStructureLeft',
|
||||
'mindMap'
|
||||
]
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
isUseHandDrawnLikeStyle: 'Is use hand drawn like style',
|
||||
rootLineStartPos: 'Root line start pos',
|
||||
center: 'Center',
|
||||
right: 'Right',
|
||||
edge: 'Edge',
|
||||
rainbowLines: 'Rainbow lines',
|
||||
notUseRainbowLines: 'Not use rainbow lines'
|
||||
},
|
||||
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
isUseHandDrawnLikeStyle: '是否开启手绘风格',
|
||||
rootLineStartPos: '根节点连线起始位置',
|
||||
center: '中心',
|
||||
right: '右侧',
|
||||
edge: '边缘',
|
||||
rainbowLines: '彩虹线条',
|
||||
notUseRainbowLines: '不使用彩虹线条'
|
||||
},
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
:value="false"
|
||||
>
|
||||
</el-option>
|
||||
<el-option key="right" :label="$t('baseStyle.right')" :value="true">
|
||||
<el-option key="right" :label="$t('baseStyle.edge')" :value="true">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user