mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 21:39:40 +02:00
Updated to handle arrow heads differently between noe/classic
This commit is contained in:
@@ -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 = {
|
||||
|
Reference in New Issue
Block a user