-
|
like this. |
Beta Was this translation helpful? Give feedback.
Answered by
tbouffard
May 22, 2024
Replies: 1 comment 1 reply
-
|
yes you can maxGraph/packages/core/src/view/mixins/SnapMixin.ts Lines 69 to 73 in 9605589 It is also possible to build a dynamic grid, which requires some code
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
reuse-ay
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yes you can
the style of the container used to display the graph is set to use a background image.
See https://github.com/maxGraph/maxGraph/blob/v0.10.1/packages/html/stories/shared/configure.js#L23-L37
The grid image match the default grid size:
maxGraph/packages/core/src/view/mixins/SnapMixin.ts
Lines 69 to 73 in 9605589
It is also possible to build a dynamic grid, which requires some code