mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-15 02:04:08 +01:00
Merge remote-tracking branch 'os_repo/5237-unified-layout-common-renderer' into alanaV11
This commit is contained in:
@@ -468,8 +468,8 @@ export const render = async (data4Layout, svg, element, algorithm) => {
|
|||||||
'elk.layered.mergeEdges': data4Layout.config.mergeEdges,
|
'elk.layered.mergeEdges': data4Layout.config.mergeEdges,
|
||||||
'elk.direction': 'DOWN',
|
'elk.direction': 'DOWN',
|
||||||
'spacing.baseValue': 30,
|
'spacing.baseValue': 30,
|
||||||
'spacing.nodeNode': 40,
|
// 'spacing.nodeNode': 40,
|
||||||
'spacing.nodeNodeBetweenLayers': 45,
|
// 'spacing.nodeNodeBetweenLayers': 45,
|
||||||
// 'spacing.edgeNode': 40,
|
// 'spacing.edgeNode': 40,
|
||||||
// 'spacing.edgeNodeBetweenLayers': 30,
|
// 'spacing.edgeNodeBetweenLayers': 30,
|
||||||
// 'spacing.edgeEdge': 30,
|
// 'spacing.edgeEdge': 30,
|
||||||
|
|||||||
@@ -475,7 +475,6 @@ const fixCorners = function (lineData) {
|
|||||||
}
|
}
|
||||||
return newLineData;
|
return newLineData;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Given a line, this function will return a new line where the corners are rounded.
|
* Given a line, this function will return a new line where the corners are rounded.
|
||||||
* @param lineData
|
* @param lineData
|
||||||
|
|||||||
Reference in New Issue
Block a user