Hi Ashish, > The example you refer to provides charts but not graphs. yes I know, but up to now we used only features available through JFreeChart (using the Pivot-JFree Chart provider).
> Specifically I need a way to visualize graphs using vertices and edges. I'm sorry but I don't think that JFreeChart has something like this ... so you should stay with your Graph library. I can propose to you the following approach: 1 - (mandatory step): take the Pivot minimal Swing sample/demo, put there your code to interact with Graphs, and loop until all works good, or some problem occurs (and tell us in that case) 2 - in case there is general interests on this (and after a positive vote from Pivot Developers), we could even think to add in core Pivot a set of API for interaction with Graphs, and put the implementation for a specific product in a secondary project in apache-extras. Of course if you want to help us on this you are welcome ... as a sample, take a look at Pivot Charts API. As a quick-start for you, I could even open a pivot-jgraph subproject in Apache-Extras and add you as a Committer so we can start to share some code, and see later what to do. What do you think ? Keep us updated. Bye, Sandro > > Thanks, Ashish > > > On Mon, May 28, 2012 at 1:30 PM, Sandro Martini <[email protected]> > wrote: >> >> Hi and thank you for your interests in Pivot. >> >> In Pivot we have an API for for Charts, and an implementation of it >> using JFreeChart here ( >> http://code.google.com/a/apache-extras.org/p/pivot-jfree/ ). A Demo of >> it is here ( http://cwiki.apache.org/confluence/display/PIVOT/Other+Demos >> ). Note that all links are reachable from any page in our web site. >> >> Pivot doesn't use Swing components, instead it relies on AWT. >> We have some interaction samples between Pivot and Swing, but to be >> sure that JGraph can work with Pivot the only way is to try ... >> >> As a minimal sample, a starting point could be this demo: >> org.apache.pivot.demos.swing.SwingDemo >> >> Tell us if you need more info, and keep us updated ... if you want to >> post some minimal example (even to discuss it) here inside a zip would >> be great. >> >> Bye, >> Sandro > >
