Skip to content

Commit 4bd6ddb

Browse files
committed
support polygon regions in hypergraph
1 parent 39966bc commit 4bd6ddb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

lib/JumperGraphSolver/visualizeJumperGraph.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export const visualizeJumperGraph = (
5050
graphics.polygons.push({
5151
points,
5252
fill,
53+
stroke: "rgba(128, 128, 128, 0.5)",
54+
strokeWidth: 0.03,
5355
})
5456
} else {
5557
graphics.rects.push({

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@tscircuit/math-utils": "^0.0.29",
2020
"@types/bun": "latest",
2121
"bun-match-svg": "^0.0.15",
22-
"graphics-debug": "^0.0.82",
22+
"graphics-debug": "^0.0.83",
2323
"react-cosmos": "^7.1.0",
2424
"react-cosmos-plugin-vite": "^7.1.0",
2525
"transformation-matrix": "^3.1.0",

tests/topology/__snapshots__/topology19.snap.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)