https://github.com/gephi/gexf
GEXF Format Specifications
https://github.com/gephi/gexf
format gexf graph xml
Last synced: 3 months ago
JSON representation
GEXF Format Specifications
- Host: GitHub
- URL: https://github.com/gephi/gexf
- Owner: gephi
- License: cc-by-4.0
- Created: 2015-12-23T10:29:00.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T20:08:46.000Z (over 2 years ago)
- Last Synced: 2025-06-12T03:21:57.662Z (4 months ago)
- Topics: format, gexf, graph, xml
- Language: TeX
- Homepage: https://gexf.net/
- Size: 1.96 MB
- Stars: 33
- Watchers: 19
- Forks: 8
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# GEXF Format
GEXF file format specifications. Details and examples at [gexf.net](http://gexf.net).
The repository contains both the [specifications](specs) and the [primer](primer) sources.
The latest **stable** version in **1.3**.
# License
The GEXF format and its related documentation is licensed under the [Creative Commons Attribution 4.0 License](https://creativecommons.org/licenses/by/4.0/).
# Changelog
Note that we used to use "draft" in certain version (e.g "1.2draft") up until 1.3 when we decided to simply use full versions numbers.
## 1.3
Compatible with Gephi 0.9.3 and above. Note that part of the specifications were already implemented since 0.9 but full support is only guaranteed in 0.9.3.
- Add `kind` attribute on `edge` to support multi-graph (i.e. parallel edges)
- The edge `weight` is now a `double` instead of a `float`
- The edge `id` is now optional
- Add `xsd:long`as possible `idtype` on ``
- Add new attribute types `bigdecimal`, `biginteger`, `char`, `short` and `byte`
- Add new list attributes like `listboolean` or `listinteger` for each atomic type### Dynamics
- Add a `timezone` attribute on `` to use as a timezone in case it's omitted in the element timestamps
- Open intervals attributes `startopen` and `endopen` are removed. Use regular inclusive `start` and `end` instead
- Remove `start` and `end` attributes on `` as it was redundant with `` attributes#### Timestamp support
Add the ability to represent time with single timestamps instead of intervals. We want feature parity between the two time representations but note they can't be mixed.
- Add a `timerepresentation` enum in `` with either `interval` (default) or `timestamp` to configure the way the time is represented
- Add `timestamp` attribute to ``, ``, `` and `` to support this new time representation#### Alternative to spell elements
- Add a `timestamps` attribute to `` and `` to represent a list of timestamps without having to use spells
- Similarly, add a `intervals` attribute to `` and ``#### New slice mode
The optional `mode` attribute on `` now has an additional `slice` value, in addition of `static` and `dynamic`. With slice, the expectation is that the `` also has either a `timestamp` or `start` / `end` intervals.
- Add a `timestamp` attribute on `` to characterise the slice this graph represent
- Change the meaning of the `start` and `end` attributes on `` to either characterise the slice instead of the time bounds, which should rather be inferred### Viz
- Add `hex` attribute on `` so it can support values like `#FF00FF`
- The `z` position is no longer required
- Dynamic attributes like `start`, `end` or child elements `` are no longer supported for viz attributes. To represent viz attributes over time, an alternative is to create multiple graphs each representing a slice## 1.2
Compatible with Gephi 0.8 and above.
- The node and edge `label` attribute are now optional
- `` should be placed before ``### Dynamics
- Rename the `timetype` attribute to `timeformat`. This attribute is set on `` to specify how time information is encoded, either like a date or like a double.
- The `timeformat` is currently either `float` or `date` and default value is `date`. The `float` type is replaced by `double`, and is now the default value.
- Added `timeformat` types `integer` and `dateTime`. DateTime is equivalent to timestamps.
- Add open intervals (non-inclusive): `startopen` and `endopen` attributes.
- `` and `` are renamed `` and `` respectively because slices are a different concept as remarked.### Viz
- Add viz attributes support for dynamics.
- Add the alpha channel to RGB. Colors are now encoded in RGBA. It is a float from 0.0 (invisible) to 1.0 (fully visible). If omitted, the default alpha-value is 1.0 (no transparency).## 1.1
Compatible with Gephi 0.7 and above.
- Modules are stabilized and new ones appear: hierarchy and phylogeny.
## 1.0
Compatible with Gephi 0.6 and above.
- First specification. Basic topology, associated data and dynamics attempt constitute the core, plus a visualization extension.