Closed mdforti closed 2 years ago
Thank you for pointing this out to us.
I see that the reason for this i a change in the default values for the original graph generation.
If you add edgelabels=True, it should work i.e.
replacing the line:
graph = OntoGraph(onto, onto.Perspective, leafs=leafs, parents=1
with
graph = OntoGraph(onto, onto.Perspective, leafs=leafs, parents=1, edgelabels=True)
First of all, thank you for the fix based on this issue! I also needed to update networkx to conda-forge version to make it work, finally. It would also be helpfull if you can provide some references on how to tweak the cytograph plots, i.e. labels on relations, orientation and forcing position of some nodes.
Hi, we have not gone into details on how to tweak the graphs as of yet. We are using the ipycytoscapegraph package which is documented here https://ipycytoscape.readthedocs.io/en/master/index.html .
I am trying to follow the examples, but the first cytoscape example at
https://github.com/emmo-repo/EMMO-python/blob/master/examples/jupyter-visualization/emmographs.ipynb
fails with this message:
I would appreciate any guidance on this.