ComfyUI Node
Centerline to SVG
A ComfyUI node in TJ_Vector with 10 inputs and 3 outputs.
Centerline to SVG
- line_mask
- original_image
- svg_string
- centerline_image
- statistics
◄algorithm▾►
◄smoothing2.0►
◄min_path_length10►
◄simplify_tolerance1.0►
◄bezier_smoothingtrue►
◄dilate_before_thin0►
◄color_info►
◄preserve_colorstrue►
CategoryTJ_Vector
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| line_mask | MASK | — | |
| algorithm | COMBO | 3 options: ridge, skeleton, medial_axis | |
| smoothing | FLOAT | 2.00–10 | — |
| min_path_length | INT | 101–1000 | — |
| simplify_tolerance | FLOAT | 1.00–10 | — |
| bezier_smoothing | BOOLEAN | true | — |
| dilate_before_thin | INT | 00–10 | Dilate mask before thinning to merge close lines (0=disabled) |
| original_imageopt | IMAGE | — | |
| color_infoopt | STRING | — | |
| preserve_colorsopt | BOOLEAN | true | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| svg_string | STRING | — |
| centerline_image | IMAGE | — |
| statistics | STRING | — |