Skip to content

Commit ce80cca

Browse files
authored
Update README.md
Updated default options to reflect changes made in the code (src/index.js)
1 parent eb0193a commit ce80cca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,20 +65,20 @@ var options = {
6565
snapToGridDuringDrag: false, // Snap to grid during drag
6666
snapToAlignmentLocationOnRelease: false, // Snap to alignment location on release
6767
snapToAlignmentLocationDuringDrag: false, // Snap to alignment location during drag
68-
distributionGuidelines: true, // Distribution guidelines
69-
geometricGuideline: true, // Geometric guidelines
70-
initPosAlignment: true, // Guideline to initial mouse position
68+
distributionGuidelines: false, // Distribution guidelines
69+
geometricGuideline: false, // Geometric guidelines
70+
initPosAlignment: false, // Guideline to initial mouse position
7171
centerToEdgeAlignment: false, // Center to edge alignment
72-
resize: true, // Adjust node sizes to cell sizes
73-
parentPadding: true, // Adjust parent sizes to cell sizes by padding
72+
resize: false, // Adjust node sizes to cell sizes
73+
parentPadding: false, // Adjust parent sizes to cell sizes by padding
7474
drawGrid: true, // Draw grid background
7575

7676
// General
7777
gridSpacing: 20, // Distance between the lines of the grid.
7878

7979
// Draw Grid
8080
zoomDash: true, // Determines whether the size of the dashes should change when the drawing is zoomed in and out if grid is drawn.
81-
panGrid: true, // Determines whether the grid should move then the user moves the graph if grid is drawn.
81+
panGrid: false, // Determines whether the grid should move then the user moves the graph if grid is drawn.
8282
gridStackOrder: -1, // Namely z-index
8383
gridColor: '#dedede', // Color of grid lines
8484
lineWidth: 1.0, // Width of grid lines

0 commit comments

Comments
 (0)