diff --git a/IQ/Automation/Subflows/Convert SVG image to HTML/Convert SVG image to HTML.json b/IQ/Automation/Subflows/Convert SVG image to HTML/Convert SVG image to HTML.json new file mode 100644 index 0000000..5333416 --- /dev/null +++ b/IQ/Automation/Subflows/Convert SVG image to HTML/Convert SVG image to HTML.json @@ -0,0 +1,141 @@ +{ + "runbook": { + "id": "8bcc8de0-c902-4a06-b9e7-df4186e4ba40", + "createdTime": "1763480562.175808100", + "lastUpdatedTime": "1763480819.966090500", + "factoryResourceName": null, + "isFactory": false, + "name": "Convert SVG image to HTML Image", + "description": "Skill that converts an image in SVG format into an HTML Image tag (img)", + "isReady": false, + "triggerType": "subflow_input", + "runtimeVariables": null, + "subflowVariables": { + "primitiveVariables": [ + { + "type": "string", + "defaultValue": null, + "name": "subflow.SVG", + "isReadonly": false + }, + { + "type": "string", + "defaultValue": null, + "name": "subflow.Image_HTML", + "isReadonly": false + } + ], + "structuredVariables": [] + }, + "nodes": [ + { + "id": "ae93dcc6-dcd5-47cf-8ebd-51303d3a1a3a", + "isIntegrationSubflowNode": false, + "type": "subflow_input", + "label": "Subflow Input", + "description": "", + "properties": { + "x": 321, + "y": 160, + "triggerType": "subflow_input", + "debug": false, + "outputDataFormat": "summary", + "synthKeys": [], + "inputVariables": [ + "subflow.SVG" + ], + "outputVariables": [ + "subflow.Image_HTML" + ], + "integrationIds": {}, + "tagIds": {}, + "staticInputValuesLists": { + "subflow.SVG": [] + }, + "inputOrOutputValuesDescriptions": [] + }, + "wires": [ + [ + "6efb3d4e-033f-40d4-9dc1-89739465f32a" + ] + ] + }, + { + "id": "9dd06d09-f534-4685-a141-0150cd1cacb3", + "isIntegrationSubflowNode": false, + "type": "comment", + "label": "Comment", + "description": "", + "properties": { + "x": 50, + "y": 105, + "comment": "
Input
SVG: an image in SVG format
Output
Image_HTML: img tag for HTML document
", + "debug": false + }, + "wires": [] + }, + { + "id": "60008192-19a4-49ac-997d-04f90d37594f", + "isIntegrationSubflowNode": false, + "type": "comment", + "label": "Comment 1", + "description": "", + "properties": { + "x": 333, + "y": 300, + "comment": "SVG sample for testing:
<svg width=\"100\" height=\"100\">
<circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"red\"/>
</svg>
", + "debug": false + }, + "wires": [] + }, + { + "id": "6efb3d4e-033f-40d4-9dc1-89739465f32a", + "isIntegrationSubflowNode": false, + "type": "set_primitive_variables", + "label": "Convert", + "description": "", + "properties": { + "x": 529, + "y": 160, + "variables": [ + { + "name": "subflow.Image_HTML" + } + ], + "transformTemplate": "{% comment %}\nConvert the SVG to an HTML img tag \n{% endcomment %}\n{\n \"subflow.Image_HTML\": \"