调整文件结构
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
@@ -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 './';
|
||||
|
||||
// ==================== 类型定义 ====================
|
||||
|
||||
@@ -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';
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user