| | |
| | | import { Graph, Shape } from "@antv/x6"; |
| | | import { GraphComponent } from "../../components/Flow/GraphComponent"; |
| | | import { GraphTools } from "../../components/Flow/GraphTools"; |
| | | import { RightMenu } from "../../components/Flow/RightMenu"; |
| | | import { GraphDrawer } from "../../components/Flow/GraphDrawer"; |
| | | import './index.less'; |
| | | |
| | | export default function () { |
| | |
| | | }, [ready]); |
| | | |
| | | return ( |
| | | |
| | | <div className="stencil-app"> |
| | | <GraphTools isReady={ready} graphRef={graphRef} /> |
| | | <GraphComponent ref={graphRef} initHandle={initHandle} /> |
| | | <RightMenu isReady={ready} graphRef={graphRef} /> |
| | | <GraphDrawer isReady={ready} graphRef={graphRef} /> |
| | | </div> |
| | | ); |
| | | } |