mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-24 17:08:28 +00:00
* modify the lineage alignment algorithm to tree view * added layout reference link
This commit is contained in:
parent
dba1fe9fd2
commit
fd705d5ed4
@ -217,11 +217,12 @@ export const getLayoutedElements = (
|
|||||||
return { node: uNode, edge: edgesRequired };
|
return { node: uNode, edge: edgesRequired };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Layout options for the elk graph https://eclipse.dev/elk/reference/algorithms/org-eclipse-elk-mrtree.html
|
||||||
const layoutOptions = {
|
const layoutOptions = {
|
||||||
'elk.algorithm': 'layered',
|
'elk.algorithm': 'mrtree',
|
||||||
'elk.direction': 'RIGHT',
|
'elk.direction': 'RIGHT',
|
||||||
'elk.layered.spacing.edgeNodeBetweenLayers': '50',
|
'elk.layered.spacing.edgeNodeBetweenLayers': '50',
|
||||||
'elk.spacing.nodeNode': '60',
|
'elk.spacing.nodeNode': '100',
|
||||||
'elk.layered.nodePlacement.strategy': 'SIMPLE',
|
'elk.layered.nodePlacement.strategy': 'SIMPLE',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user