mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-04 22:59:50 +02:00
#5237 pass useRough to edges
This commit is contained in:
@@ -828,6 +828,7 @@ const setupDoc = (parentParsedItem, doc, diagramStates, nodes, edges, altFlag, u
|
||||
labelType: G_EDGE_LABELTYPE,
|
||||
thickness: G_EDGE_THICKNESS,
|
||||
classes: CSS_EDGE,
|
||||
useRough,
|
||||
};
|
||||
edges.push(edgeData);
|
||||
//g.setEdge(item.state1.id, item.state2.id, edgeData, graphItemCount);
|
||||
|
@@ -71,6 +71,7 @@ interface Edge {
|
||||
minlen?: number;
|
||||
pattern?: string;
|
||||
thickness?: number;
|
||||
useRough?: boolean;
|
||||
}
|
||||
|
||||
// Extending the Node interface for specific types if needed
|
||||
|
Reference in New Issue
Block a user