add another maybe-undefined operator elk

This commit is contained in:
Nicholas Bollweg 2024-08-30 09:16:38 -05:00
parent 3e922c83f0
commit 6a97f80cc3

View File

@ -754,7 +754,7 @@ export const render = async (
'elk.direction': 'DOWN',
'spacing.baseValue': 35,
'elk.layered.unnecessaryBendpoints': true,
'elk.layered.cycleBreaking.strategy': data4Layout.config.elk.cycleBreakingStrategy,
'elk.layered.cycleBreaking.strategy': data4Layout.config.elk?.cycleBreakingStrategy,
// 'spacing.nodeNode': 20,
// 'spacing.nodeNodeBetweenLayers': 25,
// 'spacing.edgeNode': 20,