Hi, I am using the JavaScript API for Cytoscape Web and I find it very useful. But there is one small thing that is very important for every visualization, which does not seemed to be touched on in the
FAQ or
tutorial: that is, how to create a legend for the graph.
Does anyone know how to do this? I would specifically like a legend that has every node shape/color, with a place to leave a description to the right. It would be even better if I could get every edge that I am using as well (solid, dashed, directed, undirected). I simply want: a representation of every symbol appearing in the graph, with a place for a description.
Is there a provision for this in Cytoscape? One would think so, since it is an essential feature of every graph. If not, I'll have to start taking screenshots...