Merge branch 'main' into feat/hooks

This commit is contained in:
moklick
2022-08-16 14:26:23 +02:00
11 changed files with 60 additions and 101 deletions
+2 -2
View File
@@ -26,7 +26,6 @@ const initBgColor = '#1A192B';
const connectionLineStyle = { stroke: '#fff' };
const snapGrid: SnapGrid = [16, 16];
const defaultViewport = { x: 0, y: 0, zoom: 1.5 };
const nodeTypes = {
selectorNode: ColorSelectorNode,
@@ -137,8 +136,9 @@ const CustomNodeFlow = () => {
connectionLineStyle={connectionLineStyle}
snapToGrid={true}
snapGrid={snapGrid}
defaultViewport={defaultViewport}
fitView
minZoom={0.3}
maxZoom={2}
>
<MiniMap
nodeStrokeColor={(n: Node): string => {