Alternatively, I would be grateful if you could provide us with the Github link to the java source code (method/class/etc.) that is achieving this in KNIME. I will try then to create my own custom KNIME node. Many thanks in advance.
I would be really grateful if I could have an answer to the question I posted a couple of weeks ago:
"I would be grateful if you could provide us with the Github link to the java source code (method/class/etc.) that is achieving this (Export SVG for workflow or Metanode) in KNIME. I will try then to create my own custom KNIME node."
If I manage to implement this node, I will share it with the community, both the Java source code and the compiled plugin. Many thanks in advance.
Hi @aworker,
what exactly do you want to do with the workflow-svg once you extracted it with the help of a node? What is the exact use case? I’m asking because for two reasons: (i) it is not an easy (and actually not desired) undertaking because nodes don’t have (and should not have) access to the workflow rendering engine (just imagine to run a workflow on a KNIME Server where no UI/display is available). And (ii) I hope that there is maybe already another way to achieve your actual final goal, depending on what it is.
We would like to automate the generation of figures of the internal content of components in KNIME. We include these figures in internal reports that explain how a component has been implemented or we add them for instance to published papers, blogs, etc. The problem is that a big workflow may contain dozens of different components. Export the SVGs one by one is not practical.
Having a node that automatically saves the svg image of a component once it has been executed would very much make our lives easier
We are takers, would you have any automated solution out of the box. Many thanks in advance.
I see two use cases (correct me if I’m wrong!):
(i) Creating SVGs for papers or blogs. This is probably a manual process anyway, I guess? Because it possibly requires curation and nobody wants to look at hundreds of workflow images, I guess
(ii) Internal reports: what exactly do you want to capture in those reports? The svg image of a workflow mainly captures its structure (+ annotations) but not much more. If you are not ‘married’ to the idea of having a workflow picture then maybe the new ‘Workflow Summary’-feature would be of help. It allows you to extract all essential information from a workflow (and, e.g., their contained components). From there you can (by means of another KNIME workflow) extract/filter the information you really need and include that in the report instead (e.g. a list of nodes, their configurations and connections). The workflow summary generation can also be automated on a KNIME Server.
We definitely need to automatically gather the SVG images of components for our work. The Workflow Summary is not a solution for us. Thanks for your comments.