Question

I am looking for a way to persist jung graphs in a database or datastore. Is there a functionality in jung that I could use for this purpose? Maybe there is a library I could use?

Was it helpful?

Solution

What JUNG provides as of now is just the ability to save to GraphML, or to persist graphs to object files.

You could use JUNGs GraphML capabilities to write the graph out to an XML file and then have that read in to a database of your choice.

OTHER TIPS

I persist SparseMultigraph structure in OrientDB

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top