Ability to define value intervals for node attributes

Asked by Julian Bilcke

(Note: This is a simple suggestion, for an optional, high-level (or "helper") feature, and thus I understand it might not be relevant to most GEXF file format users).

In the current specification, it is not possible to specify minimum or maximum values that enumerable variables (ie. datatypes such as integer, double, float) can have in node attributes.

Since GEXF may be used in various data-processing applications, it would be helpful to know such upper and lower bounds to compute things like intervals or ranges.

To address theses issues, I suggest adding (a) new optional tag(s) to specify the min-max.
Example, using two tags:

In some way, this would be exactly like the "global interval" timeline range already specified by the GEXF, which is defined in the "graph" tag, but for node attributes and not only for timeline attributes.

Question information

English Edit question
GEXF Edit question
No assignee Edit question
Solved by:
Sébastien Heymann
Last query:
Last reply:
Revision history for this message
Best Sébastien Heymann (sebastien.heymann) said :

I don't want to create a meta-language for every kind of data, also because there is not just integers. You can add constraints on data with the "options" attribute, which explicitly enumerates the allowed values.

Revision history for this message
Julian Bilcke (flngr) said :

Thanks Sébastien Heymann, that solved my question.