#5237 pass useRough to edges

This commit is contained in:
Ashish Jain
2024-05-03 13:03:34 +02:00
parent 5e53d6cfee
commit 024bffd683
2 changed files with 2 additions and 0 deletions

View File

@@ -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);

View File

@@ -71,6 +71,7 @@ interface Edge {
minlen?: number;
pattern?: string;
thickness?: number;
useRough?: boolean;
}
// Extending the Node interface for specific types if needed