mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-01-03 06:42:27 +08:00
23 lines
579 B
Markdown
23 lines
579 B
Markdown
|
|
# pid
|
||
|
|
|
||
|
|
**Type:** mxgraph shapes
|
||
|
|
**Prefix:** `mxgraph.pid2valves`, `mxgraph.pid2inst`, `mxgraph.pid2misc`
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
```xml
|
||
|
|
<mxCell value="label" style="shape=mxgraph.pid2valves.valve;valveType=gate;" vertex="1" parent="1">
|
||
|
|
<mxGeometry x="0" y="0" width="60" height="60" as="geometry" />
|
||
|
|
</mxCell>
|
||
|
|
```
|
||
|
|
|
||
|
|
## Valve Types
|
||
|
|
|
||
|
|
For `mxgraph.pid2valves.valve`, use `valveType=` with:
|
||
|
|
- `gate`, `globe`, `needle`, `ball`, `butterfly`, `diaphragm`, `plug`, `check`
|
||
|
|
|
||
|
|
## Other Prefixes
|
||
|
|
|
||
|
|
- `mxgraph.pid2inst` - Instruments (discInst, sharedCont, compFunc)
|
||
|
|
- `mxgraph.pid2misc` - Miscellaneous
|