feat(editor): add gridSize and showGrid params
This commit is contained in:
@@ -146,6 +146,7 @@ class App extends PureComponent {
|
||||
connectionLineStyle={{ stroke: '#ddd', strokeWidth: 2 }}
|
||||
connectionLineType="bezier"
|
||||
gridColor="#aaa"
|
||||
gridGap={16}
|
||||
>
|
||||
<MiniMap
|
||||
style={{ position: 'absolute', right: 10, bottom: 10 }}
|
||||
|
||||
@@ -61,6 +61,7 @@ class App extends PureComponent {
|
||||
onConnect={this.onConnect}
|
||||
onNodeDragStop={onNodeDragStop}
|
||||
style={{ width: '100%', height: '100%' }}
|
||||
showGrid={false}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user