no message

This commit is contained in:
KuroSago 2025-05-08 21:49:47 +08:00
parent afc9146785
commit a39f22771f
9 changed files with 49 additions and 8 deletions

View File

@ -1,5 +1,5 @@
<template> <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/> <InsertChildNode/>
<InsertSiblingNode/> <InsertSiblingNode/>
<ImportBtn/> <ImportBtn/>

View File

@ -1,7 +1,7 @@
<!-- 插入子节点 --> <!-- 插入子节点 -->
<template> <template>
<div <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=" @click="
exportFile({ exportFile({
type: 'md', type: 'md',

View File

@ -1,7 +1,7 @@
<!-- 导入文件 --> <!-- 导入文件 -->
<template> <template>
<div <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" @click="triggerFileInput"
> >
<input <input

View File

@ -2,7 +2,7 @@
<template> <template>
<div <div
@click="addNewChildNode" @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> </div>

View File

@ -2,7 +2,7 @@
<template> <template>
<div <div
@click="addNewSiblingNode" @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> </div>

View File

@ -1,7 +1,7 @@
<template> <template>
<div <div
@click="remove" @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> </div>

View File

@ -0,0 +1,4 @@
<!-- 布局 -->
<template>
<div></div>
</template>

View 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']
}
]

View File

@ -1,9 +1,9 @@
<template> <template>
<div class="h-full w-full relative border border-red"> <div class="relative w-full h-full border">
<!-- 操作拦 --> <!-- 操作拦 -->
<ToolBar /> <ToolBar />
<div <div
class="mindMapContainer w-full h-full " class="w-full h-full mindMapContainer "
id="mindMapContainer" id="mindMapContainer"
ref="mindMapContainer" ref="mindMapContainer"
/> />