mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-10 01:29:49 +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,
|
labelType: G_EDGE_LABELTYPE,
|
||||||
thickness: G_EDGE_THICKNESS,
|
thickness: G_EDGE_THICKNESS,
|
||||||
classes: CSS_EDGE,
|
classes: CSS_EDGE,
|
||||||
|
useRough,
|
||||||
};
|
};
|
||||||
edges.push(edgeData);
|
edges.push(edgeData);
|
||||||
//g.setEdge(item.state1.id, item.state2.id, edgeData, graphItemCount);
|
//g.setEdge(item.state1.id, item.state2.id, edgeData, graphItemCount);
|
||||||
|
@@ -71,6 +71,7 @@ interface Edge {
|
|||||||
minlen?: number;
|
minlen?: number;
|
||||||
pattern?: string;
|
pattern?: string;
|
||||||
thickness?: number;
|
thickness?: number;
|
||||||
|
useRough?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Extending the Node interface for specific types if needed
|
// Extending the Node interface for specific types if needed
|
||||||
|
Reference in New Issue
Block a user