gama-platform / gama.old

Main repository for developing the 1.x versions of GAMA
GNU General Public License v3.0
304 stars 99 forks source link

Make graphs read/write comply with the GamaFile framework #2260

Closed AlexisDrogoul closed 1 year ago

AlexisDrogoul commented 7 years ago

Current situation

Graphs are read and written using special statements/operators, which rely on the prefuse library.

Expected behavior

Graphs should be read and written as other types of data, using special flavours (subclasses) of the GamaFile infrastructure. Thanks to the new inclusion of JGraphT 1.0.1, we should also be able to get rid of prefuse (as JGraphT includes reading and writing to/from GML, GraphML, dot, which constitute the vast majority of the needs.

System and version

Git Version.

AlexisDrogoul commented 6 years ago

Now tracked under #1362

AlexisDrogoul commented 2 years ago

Reopening this issue for the next round of development on GAMA 2.0

AlexisDrogoul commented 1 year ago

It is my understanding that this has been implemented (by @ptaillandier ?) and is now available in GAMA 1.9.1. See, e.g., https://github.com/gama-platform/gama/blob/GAMA_1.9.2/msi.gama.core/src/msi/gama/util/file/GamaGraphFile.java and its subclasses.