gephi / gexf

GEXF Format Specifications
https://gexf.net/
Creative Commons Attribution 4.0 International
31 stars 6 forks source link

dynamic graphs and time formats #4

Open duncdrum opened 8 years ago

duncdrum commented 8 years ago

@mbastian wrote

  • Add a “timerepresentation” enum in : The value would either be “interval” or “timestamp”. Interval would the default so we’re backward compatible. This configures the way the time is represented and we choose not to mix the two so it's needs to be explicitly set.
  • Add a “timestamp” attribute to : This allows to define a timestamp for the entire graph. That’s the corner stone of supporting collections of GEXF files where each is a slice with a timestamp value. Essentially, it means that each element in the graph exists at this timestamp. If the attribute columns are dynamic we would also set values at that time.
  • As we want a “timestamp” attribute for we should revisit the meaning of the “start” and “end” attributes in as well. Right now, they define the dynamics' bounds but that could be inferred from the data as well by taking the min and max so I don't think it's very useful. Instead, it could define the interval for the entire graph like the new "timestamp" would do.
  • Add a “timestamps” attribute to node/edge: Add an array of timestamps. Each of the element in the list should follow the format agreed on in "timeformat".
  • Add “timestamp” to : Defines a unique time 't' for this attribute value.
  • Add "timezone" configuration: Timezone can be defined as part of the timestamps themselves (e.g. 2015-01-01T13) but it should be possible to define a global timezone if this is omitted. By default, we would use the local user timestamp.
  • consistency between intervals and timestamps: Both time representation should have the same feature. If we allow to define "timestamps" on elements we should also allow "intervals". Similarly if we keep the concept for intervals we should add support for timestamp spells as well.
duncdrum commented 8 years ago

@mbastian I have a few questions about this:

mbastian commented 8 years ago
<node id="n0" label="Bob">
    <attvalue for="0" value="true" timestamp="2000" />
</node>

As you can see, the value true is set for a unique timestamp with value 2000.

duncdrum commented 8 years ago

Ok I have a few more days before crazy starts again, I'll reference commits in my branch in here.