```typescript // 获取画板类 const { SMxGraph } = staryeaMxGraph; // 实例化一个面板 const sMxGraph = new SMxGraph(document.querySelector('.container'), './src'); // 开始绘画 sMxGraph.drawModel.beginDraw(({ insertVertex, insertEdge, parent, graph }) => { const v1 = ins
npm install @mxgraph/mxgraph-core@1.0.0