Updated to handle arrow heads differently between noe/classic

This commit is contained in:
Knut Sveidqvist
2025-01-10 11:44:14 +01:00
parent 7491c78c8c
commit 619a1df26e
6 changed files with 68 additions and 33 deletions

View File

@@ -781,7 +781,13 @@ export const render = async (
const elk = new ELK();
const element = svg.select('g');
// Add the arrowheads to the svg
insertMarkers(element, data4Layout.markers, data4Layout.type, data4Layout.diagramId);
insertMarkers(
element,
data4Layout.markers,
data4Layout.type,
data4Layout.diagramId,
data4Layout.config
);
// Setup the graph with the layout options and the data for the layout
let elkGraph: any = {