Skip to content

Commit

Permalink
Adjust styling of graph view
Browse files Browse the repository at this point in the history
  • Loading branch information
albingroen committed Feb 21, 2023
1 parent ae4d36c commit f385475
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions components/SchemaGraph.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ReactFlow, { Background } from "react-flow-renderer";
import { useSchemaContext } from "../lib/context";
import { TYPES } from "../lib/fields";
import ReactFlow from "react-flow-renderer";
import { Enum, Field, Model } from "../lib/types";
import { TYPES } from "../lib/fields";
import { useSchemaContext } from "../lib/context";

const onLoad = (reactFlowInstance: any) => {
reactFlowInstance.fitView();
Expand Down Expand Up @@ -101,9 +101,7 @@ const SchemaGraph = () => {
: []
}
onLoad={onLoad}
>
<Background color="#aaa" gap={16} />
</ReactFlow>
/>
);
};

Expand Down

1 comment on commit f385475

@vercel
Copy link

@vercel vercel bot commented on f385475 Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.