no message
This commit is contained in:
parent
afc9146785
commit
a39f22771f
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="absolute w-full border flex flex-row gap-[24px]">
|
||||
<div class="absolute w-full border-0 px-[24px] border-b flex flex-row gap-[24px]">
|
||||
<InsertChildNode/>
|
||||
<InsertSiblingNode/>
|
||||
<ImportBtn/>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<!-- 插入子节点 -->
|
||||
<template>
|
||||
<div
|
||||
class="w-[80px] h-[80px] border flex flex-col items-center justify-center"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border-0 border-l border-r"
|
||||
@click="
|
||||
exportFile({
|
||||
type: 'md',
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<!-- 导入文件 -->
|
||||
<template>
|
||||
<div
|
||||
class="w-[80px] h-[80px] border flex items-center justify-center cursor-pointer hover:bg-gray-100"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border-0 border-l border-r"
|
||||
@click="triggerFileInput"
|
||||
>
|
||||
<input
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<template>
|
||||
<div
|
||||
@click="addNewChildNode"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border-0 border-l border-r"
|
||||
>
|
||||
新增子节点
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<template>
|
||||
<div
|
||||
@click="addNewSiblingNode"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border-0 border-l border-r"
|
||||
>
|
||||
姐妹节点
|
||||
</div>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
@click="remove"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border"
|
||||
class="w-[80px] h-[80px] flex justify-center items-center border-0 border-l border-r"
|
||||
>
|
||||
删除节点
|
||||
</div>
|
||||
|
||||
@ -0,0 +1,4 @@
|
||||
<!-- 布局 -->
|
||||
<template>
|
||||
<div></div>
|
||||
</template>
|
||||
37
web3/packages/mind-map/src/store/helpers/layoutGroupList.ts
Normal file
37
web3/packages/mind-map/src/store/helpers/layoutGroupList.ts
Normal file
@ -0,0 +1,37 @@
|
||||
// 结构列表
|
||||
export const layoutGroupList = [
|
||||
{
|
||||
name: '力导向图',
|
||||
list: ['forceDirected']
|
||||
},
|
||||
{
|
||||
name: '逻辑结构图',
|
||||
list: ['logicalStructure', 'logicalStructureLeft']
|
||||
},
|
||||
{
|
||||
name: '思维导图',
|
||||
list: ['mindMap']
|
||||
},
|
||||
{
|
||||
name: '组织结构图',
|
||||
list: ['organizationStructure']
|
||||
},
|
||||
{
|
||||
name: '目录组织图',
|
||||
list: ['catalogOrganization']
|
||||
},
|
||||
{
|
||||
name: '时间轴',
|
||||
list: [
|
||||
'timeline',
|
||||
'timeline2',
|
||||
'verticalTimeline2',
|
||||
'verticalTimeline3',
|
||||
'verticalTimeline'
|
||||
]
|
||||
},
|
||||
{
|
||||
name: '鱼骨图',
|
||||
list: ['fishbone', 'fishbone2', 'rightFishbone', 'rightFishbone2']
|
||||
}
|
||||
]
|
||||
@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<div class="h-full w-full relative border border-red">
|
||||
<div class="relative w-full h-full border">
|
||||
<!-- 操作拦 -->
|
||||
<ToolBar />
|
||||
<div
|
||||
class="mindMapContainer w-full h-full "
|
||||
class="w-full h-full mindMapContainer "
|
||||
id="mindMapContainer"
|
||||
ref="mindMapContainer"
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user