Ability to define value intervals for node attributes

Asked by Julian Bilcke on 2010-03-30

(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:
 <attribute>
   <min>-10.0</min>
   <max>+10.0</max>
</attribute>

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

Language:
English Edit question
Status:
Solved
For:
GEXF Edit question
Assignee:
No assignee Edit question
Solved by:
Sébastien Heymann
Solved:
2010-03-30
Last query:
2010-03-30
Last reply:
2010-03-30

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.

Julian Bilcke (flngr) said : #2

Thanks Sébastien Heymann, that solved my question.