oxfordinternetinstitute / gephi-plugins

Switch to the sigmaexporter-plugin branch (https://github.com/oxfordinternetinstitute/gephi-plugins/tree/sigmaexporter-plugin/modules/sigmaExporter) or jsonexporter-plugin branch (https://github.com/oxfordinternetinstitute/gephi-plugins/tree/jsonexporter-plugin/modules/JsonExporter) for the relevant code.
http://blogs.oii.ox.ac.uk/vis/
63 stars 28 forks source link

Export z-coordinate if present #39

Open computermacgyver opened 10 years ago

computermacgyver commented 10 years ago

New layout algorithms (e.g., https://marketplace.gephi.org/plugin/force-atlas-3d/ ) produce 3D layouts with z-coordinates. Export these when saving JSON if present.

Does this need to be an option in the export?

It doesn't seem there is a designated missing value. http://gephi.org/docs/api/org/gephi/graph/api/NodeData.html http://gephi.org/docs/api/org/gephi/graph/api/Spatial.html#z()

Testing shows default z-value is 0, but it is probably unwise to assume 0 means a z-value has not been set. Need to provide an option to "Include z-coordinate even if zero" in export.

L0y3r commented 2 years ago

Is there any news about this? I would be glad to contribute to this project but I would like to know where is the code where x and y are taken