ComfyUI Node
SVG Element Manipulator
A ComfyUI node in 💎TOSVG/XMLParser with 9 inputs and 1 output.
SVG Element Manipulator
- STRING
◄svg_string—►
â—„operationmodify_elementâ–º
â—„selectorpathâ–º
â—„new_tagrectâ–º
â—„attributeswidth="100" height="100" x="10" y="10" fill="red"â–º
â—„contentâ–º
â—„target_index0â–º
â—„reorder_position0â–º
â—„duplicate_count1â–º
Category💎TOSVG/XMLParser
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| svg_string | STRING | — | |
| operation | COMBO | modify_element | 6 options: add_element, remove_element, replace_element, modify_element, duplicate_element, reorder_element |
| selector | STRING | path | — |
| new_tagopt | STRING | rect | — |
| attributesopt | STRING | width="100" height="100" x="10" y="10" fill="red" | — |
| contentopt | STRING | — | |
| target_indexopt | INT | 00–100 | — |
| reorder_positionopt | INT | 0-100–100 | — |
| duplicate_countopt | INT | 11–10 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |