You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looking at the source code there is no method to "add_style" so I assumed that changing the json style and pass it again to the graph will do it. but it does not.
POST EDIT: I have the impression that the graph including styles has to be re-created from scratch. adding nodes and edges is ok, but adding styles isnt.
The text was updated successfully, but these errors were encountered:
I have a graph called ipycytoscape_obj9 with a particular my_style.
assume I add a node and two edges to that node.
And then I want to update also the style of the edges.
as in:
If I print out in the next cell the graph I would expect that the new appended styles are taking into account for edges 6 and 7. that is not the case.
Only starting from scratch with a new graph the new styles would be matched by printing/displaying/rendering the graph:
looking at the source code there is no method to "add_style" so I assumed that changing the json style and pass it again to the graph will do it. but it does not.
POST EDIT: I have the impression that the graph including styles has to be re-created from scratch. adding nodes and edges is ok, but adding styles isnt.
The text was updated successfully, but these errors were encountered: