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
I'm trying to display label for edges.
As I know from https://github.com/fkling/JSNetworkX/wiki/Drawing-graphs it is connected with with_edge_labels and edge_labels, but I cannot get it working - edge_labels function is not called, edge_labels: "label" does not work too.
I'm trying to display label for edges.
As I know from https://github.com/fkling/JSNetworkX/wiki/Drawing-graphs it is connected with with_edge_labels and edge_labels, but I cannot get it working - edge_labels function is not called, edge_labels: "label" does not work too.
`var G = new jsnx.Graph();
G.addEdge(1,3, {label : "gg"});
G.addEdge(3,1, {label : "gg"});
G.addEdge(1,5, {label : "gg"});
G.addEdge(1,7, {label : "gg"});
G.addEdge(7,3, {label : "gg"});
G.addEdge(7,9, {label : "gg"});
});`
Could you explain where I am wrong?
The text was updated successfully, but these errors were encountered: