OpenLiberty / openliberty.io

Open Liberty website
https://openliberty.io
Other
54 stars 40 forks source link

Display features graphically as an interactive Graph #1060

Open aguibert opened 5 years ago

aguibert commented 5 years ago

today I was chatting with an experienced non-IBM JavaEE/Liberty user and it turned out he never fully grasped the concepts of features including other features, it was all kind of a mystery to him. In my head, I picture Liberty features as a DAG. I think it would be really cool to add a page on our feature documentation that perhaps showed a DAG of all Liberty features and how they relate to each other, where the graph nodes are public features, and then they have arrows/edges to the other features they include. Looks like there are some pretty slick js libs out there to do this sort of thing: http://graphalchemist.github.io/Alchemy/#/ http://visjs.org/network_examples.html

I think this sort of layout would work well as a replacement to the feature doc landing page -- instead of a list of features, show a fullscreen graph of features (w/ a search function).

steven1046 commented 5 years ago

DAG = Directed acyclic graph for anyone reading.

steven1046 commented 5 years ago

https://d3js.org/ could be useful to implement a graph

mbroz2 commented 5 years ago

In order to accomplish this, the graph/map data of features would need to be created/provided to us (likely, one would need to be created at build time of the product that we'd consume every 4 week release). At that point we'd take the map/graph data and render it.

aguibert commented 5 years ago

@mbroz2 I'm sure myself or someone else in my tribe could write some code to produce this information. Just let us know what format you want the data in and we can write some build code to produce it.