调整文件结构

This commit is contained in:
2026-04-15 13:42:07 +08:00
parent 3c06e77c6d
commit 44ff489c08
3 changed files with 6 additions and 6 deletions

View File

@@ -74,8 +74,8 @@ import PlatformCard from './platform-card.vue';
import NodesCard from './nodes-card.vue';
import { findOneScenarioById, saveScenario, findRelations, getAllBehaviorTreesBySceneId, findPlatformWithComponents } from './api';
import { resolveConnectionRelation } from './relation';
import { generateRandomCommunicationData } from './random-data-generator';
import { convertRecordsToGraphContainer, type CommunicationRecord } from './data-converter';
import { generateRandomCommunicationData } from '../graph/random-data-generator';
import { convertRecordsToGraphContainer, type CommunicationRecord } from '../graph/data-converter';
const TeleportContainer = defineComponent(getTeleport());

View File

@@ -7,10 +7,10 @@
* that was distributed with this source code.
*/
import type { GraphTaskElement, GraphContainer, GraphEdgeElement } from '../graph';
import { generateKey } from '@/utils/strings';
import { createLineOptions } from '../graph/line';
import type { GraphTaskElement, GraphContainer, GraphEdgeElement } from './';
import type { PlatformWithComponents } from '../types/platform';
import { generateKey } from '@/utils/strings';
import { createLineOptions } from './';
// ==================== 类型定义 ====================

View File

@@ -7,7 +7,7 @@
* that was distributed with this source code.
*/
import type { GraphContainer } from '../graph';
import type { GraphContainer } from '.';
import { convertRecordsToGraphContainer, type CommunicationRecord } from './data-converter';
/**