Hello,
I am working on visualize the network in my KNIME workflow. I create a network with nodes and edges. For each node, it has the feature of their category. In my network diagram, I want to make a ego network view that cluster the nodes in the same categories. All nodes will same category should be in one area no matter the edges they connect.
Is that possble to realize this function in ‘Network Viewer’ node? If not, how to realize it (if there are exmaples can be given will be better)?
Hi @DerekJin,
I’m not an expert, but looking through Network Viewer it doesn’t seem that there is a straightforward way to do the type of visualisation that you aim for.
You can try to use the preset
configuration and the the positions of individual nodes. The viewer node uses cytoscape as backend, so API od positions
parameter should be silimar to that. Alternatively, one could try to visualise the network directly using cytoscape in a generic JavaScript View. The disadvantage is that one needs to know how to wrtie JS scripts (I admitedly have no idea ) , while the advantage is that you can use the CiSE/ Group Attributes Layout, which allows to cluster nodes within pre-assigned groups together.
Cheers,
Mischa
So as you said, cluster nodes in the network visualization is not possbile in KNIME, the only way to do that is output KNIME network information to cytoscape to configure the positions of the nodes. Actually I just want to know if it possbile to do my job without JS or R scripts. It seems impossible to do the job only using KNIME.
Hi Derek,
At least i was not able to find a native solution and asking around i was not able to find a way with KNIME node only I’ve created a ticket in the internal system, but this will most likely not appear in the nearest future.
Cheers,
Mischa
Ok, thank you for your help. I will try if I can use cytoscape or js scripts to make the clustered network view.
Hi @DerekJin,
hen you manage, please consider to share a simple example on the Hub- this way people could benefit from your experience until a native solution in KNIME will be ready.
Cheers,
Mischa.
Ok, glad to do that if I done.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.