# electrical **Type:** mxgraph shapes **Prefix:** `mxgraph.electrical` ## Usage ```xml ``` Shapes are organized by category: `mxgraph.electrical.{category}.{shape}` ## Categories ### resistors - `resistor_1` - `resistor_2` ### capacitors - `capacitor_1` - `capacitor_3` ### inductors - `inductor_3` - `transformer_1` ### diodes - `diode` - `zener_diode_1` ### transistors - `npn_transistor_1` - `pnp_transistor_1` ### mosfets1 - `n-channel_mosfet_1` - `p-channel_mosfet_1` ### logic_gates - `logic_gate` - `dual_inline_ic` ### electro-mechanical - `singleSwitch` - `pushbutton` (See draw.io Electrical shape library for complete list)