Initial skeleton setup

This commit is contained in:
Knut Sveidqvist
2024-12-13 09:12:39 +01:00
parent b5ef6d2e23
commit e75260ac07
26 changed files with 5753 additions and 6 deletions

View File

@@ -529,7 +529,7 @@ export const render = async (
'elk.alignment': 'BOTTOM',
// 'elk.layered.nodePlacement.bk.fixedAlignment': 'RIGHTDOWN',
// 'elk.edgeRouting': 'UNDEFINED',
'elk.layered.crossingMinimization.forceNodeModelOrder': true,
'elk.layered.crossingMinimization.forceNodeModelOrder': false,
},
children: [],
edges: [],
@@ -637,7 +637,7 @@ export const render = async (
}
});
const copy = JSON.parse(JSON.stringify({ ...elkGraph }));
console.log('APA13 layout before', copy);
console.log('APA13 layout before', JSON.stringify({ ...elkGraph }));
const g = await elk.layout(elkGraph);
console.log('APA13 layout', JSON.parse(JSON.stringify(g)));
// debugger;