Nodes/svg-suite/SVG Element Manipulator
ComfyUI Node

SVG Element Manipulator

A ComfyUI node in 💎TOSVG/XMLParser with 9 inputs and 1 output.

By MushroomFleet·Created about a year ago·Updated 4 months ago· 9
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)

    NameTypeDefaultDescription
    svg_stringSTRING—
    operationCOMBOmodify_element6 options: add_element, remove_element, replace_element, modify_element, duplicate_element, reorder_element
    selectorSTRINGpath—
    new_tagoptSTRINGrect—
    attributesoptSTRINGwidth="100" height="100" x="10" y="10" fill="red"—
    contentoptSTRING—
    target_indexoptINT00–100—
    reorder_positionoptINT0-100–100—
    duplicate_countoptINT11–10—

    Outputs (1)

    NameTypeDescription
    STRINGSTRING—