mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-27 16:14:34 +00:00
* modify the lineage alignment algorithm to tree view * added layout reference link (cherry picked from commit fd705d5ed4bcc6636ac595cac8f129411f5a3ee1)
This commit is contained in:
parent
e58ec940e4
commit
c6c4120670
@ -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',
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user