-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Top level Graph
API
#12
Comments
@HLWeil @LibraChris any suggestions on the graph types you'd like to see in such an API? |
That is a neat idea. A few graph types I think would be interesting to see are:
This should cover all common bases in my opinion. |
I am not sure. While a homogenic use would be nice, it would quite differ from the classical use of a graph lib... |
While i get this, i do not see it as an argument against the need for a top-level API. The same can be applied to all dataviz libs. I often so not know which Also, there is nothing stopping us from also adding |
Furthermore, if I would want to build a tree with this library at the moment, there would be quite some ceremony involved, although i know exeactly what kind of layout and edges i want to have in advance. |
Here are some additional points after some F2F discussion with @muehlhaus and @LibraChris:
|
I think consistency over the data viz libs in the stack can have huge benefits. Therefore, I suggest to either re-write this lib to follow the same patterns, or gradually introduce a top-level API.
For example, in Plotly.NET we have something like this:
Internally, there are multiple things happening, as in plotly.js there is no trace named "point".
Chart.Point
is a simple top-level API that removes the need for deep plotly.js knowledge.in Cyjs.NET (or Cytoscape,NET, see #11 ), we could have something like this:
not sure about the types of graphs that make the most sense besides
Graph.Tree
though, so i'd love some inputThe text was updated successfully, but these errors were encountered: