Create network graph with cytoscape.js

Hey,
firstly, thank you very much for your fast reply! I tried out the simple examples of dash cytoscape today and the basics are fairly easy to understand.
Now I am facing the problem to implement the funcionality of drawing a network graph out of the given energy system data.
I am not sure if I got your last point correctly reffering to implementing functions.
In the cytoscape.js there are functions like cy.add but obviously I can’t just use them in my python script.
So to implement the nodes and edges in the dash interface I have to write funcitions myself, that take the data of the energy system and integrate them into the dash framework in the form of the props “elements”?
I’m asking because there is already a visualisation module integrated in the project based on networkx (but it is my task to search for different libraries) and the module takes the energy system and transforms it into a networkx DiGraph object. It takes the already written functions of networkx like add.nodes() to do so. That is the confusing point for me.
My approach now would be trying to take the energy system data (which is already in form of dicts) and somehow bring it to the form dash cytoscape is able to work with. Maybe you or someone else can comment my proceed :slight_smile:
Best wishes,
Fabian