npm install xw-diagram-vue3
main.js 引入 xw-diagram-vue3
import xwDiagramV3 from 'xw-diagram-vue3'
import 'xw-diagram-vue3/dist/xw-diagram-v3.css'
app.use(xwDiagramV3)
主题可选
<div style="height:400px;width: 400px;">
<xw-diagram-v3 id="abc43735bce5f9eb3a5cade11b4c487c" :theme="theme"/>
</div>
'chalk',
'dark',
'essos',
'infographic',
'macarons',
'purple-passion',
'roma',
'shine',
'vintage',
'walden',
'westeros',
'wonderland'