mirror of
https://github.com/openziti/zrok.git
synced 2025-02-01 10:59:27 +01:00
layout (#804)
This commit is contained in:
parent
b91d7812d5
commit
44432491a2
@ -8,7 +8,6 @@ import ShareNode from "./ShareNode.tsx";
|
|||||||
import EnvironmentNode from "./EnvironmentNode.tsx";
|
import EnvironmentNode from "./EnvironmentNode.tsx";
|
||||||
import AccountNode from "../AccountNode.tsx";
|
import AccountNode from "../AccountNode.tsx";
|
||||||
import AccessNode from "./AccessNode.tsx";
|
import AccessNode from "./AccessNode.tsx";
|
||||||
import {Minimize} from "@mui/icons-material";
|
|
||||||
|
|
||||||
interface VisualizerProps {
|
interface VisualizerProps {
|
||||||
vov: VisualOverview;
|
vov: VisualOverview;
|
||||||
@ -59,11 +58,12 @@ const Visualizer = ({ vov }: VisualizerProps) => {
|
|||||||
edges={edges}
|
edges={edges}
|
||||||
onNodesChange={onNodesChange}
|
onNodesChange={onNodesChange}
|
||||||
onEdgesChange={onEdgesChange}
|
onEdgesChange={onEdgesChange}
|
||||||
fitView
|
|
||||||
nodesDraggable={false}
|
nodesDraggable={false}
|
||||||
|
fitView
|
||||||
>
|
>
|
||||||
<Background />
|
<Background />
|
||||||
<Controls position="bottom-right" orientation="horizontal" />
|
<Controls position="bottom-left" orientation="horizontal" />
|
||||||
|
<MiniMap />
|
||||||
</ReactFlow>
|
</ReactFlow>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user