Loading...
Loading...
Generate standard Draw.io (.drawio) format visual diagrams for deep learning models, network architectures, algorithm workflows, etc. Two modes are supported: generation from scratch and style migration. Generation from scratch: model architecture diagrams, flowcharts, receptive field schematic diagrams, etc. Style migration: reference image + content description/project → generate new diagrams following the style of the reference image. Ensure the XML format is correct and can be directly opened and edited in Draw.io.
npx skill4agent add xstongxue/best-skills drawio-diagram| Condition | Action |
|---|---|
| User provides a reference image and wants to draw a new diagram "following the style of this image" | Execute |
| Other cases (generation from scratch) | Execute |
<mxCell></mxCell></mCell>vertex="1"edge="1"id&&<<>><mxfile host="app.diagrams.net">
<diagram name="图表名称" id="图表id">
<mxGraphModel dx="1200" dy="800" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="宽度" pageHeight="高度" background="#F5F5DC">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- 所有图形元素从 id="2" 开始 -->
</root>
</mxGraphModel>
</diagram>
</mxfile>rounded=1;whiteSpace=wrap;html=1;fillColor=#color;strokeColor=#333333;strokeWidth=1;fontSize=11edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;strokeWidth=2;endArrow=classicdashed=1