perspective designer auto arrange

This commit is contained in:
Jan Prochazka
2022-08-27 09:19:17 +02:00
parent 728ad21d2f
commit 9e3a457ef5
5 changed files with 76 additions and 27 deletions

View File

@@ -89,6 +89,7 @@ export interface PerspectiveReferenceConfig {
export interface PerspectiveConfig {
rootDesignerId: string;
isArranged: boolean;
nodes: PerspectiveNodeConfig[];
references: PerspectiveReferenceConfig[];
}
@@ -115,6 +116,7 @@ export function createPerspectiveConfig(rootObject: { schemaName?: string; pureN
nodes: [rootNode],
references: [],
rootDesignerId: rootNode.designerId,
isArranged: true,
};
}