#19530: modify the lineage alignment algorithm to tree view (#19659)

* modify the lineage alignment algorithm to tree view

* added layout reference link

(cherry picked from commit fd705d5ed4bcc6636ac595cac8f129411f5a3ee1)
This commit is contained in:
Ashish Gupta 2025-02-05 14:22:37 +05:30 committed by OpenMetadata Release Bot
parent e58ec940e4
commit c6c4120670

View File

@ -220,11 +220,12 @@ export const getLayoutedElements = (
return { node: uNode, edge: edgesRequired };
};
// Layout options for the elk graph https://eclipse.dev/elk/reference/algorithms/org-eclipse-elk-mrtree.html
const layoutOptions = {
'elk.algorithm': 'layered',
'elk.algorithm': 'mrtree',
'elk.direction': 'RIGHT',
'elk.layered.spacing.edgeNodeBetweenLayers': '50',
'elk.spacing.nodeNode': '60',
'elk.spacing.nodeNode': '100',
'elk.layered.nodePlacement.strategy': 'SIMPLE',
};