commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Commented) (JIRA)" <>
Subject [jira] [Commented] (SANDBOX-402) Add GraphML importer
Date Sat, 03 Mar 2012 16:31:57 GMT


Simone Tripodi commented on SANDBOX-402:

yes that is what I mean maybe poorly expresses, given that {{Graph}} is a data structure wich
generics,  the importer should understand wich {{Vertex}}/{{Edge}} type has to deserialize.

Under the fluent APIs PoV, I would suggest something like:

Graph g = CommonsGraph.import( "path/to/gml/file.xml" ).usingGraphML(); // or DotNotation

maybe with few overloads:

import( "path/to/gml/file.xml" ).usingGraphML();
import( new File( "path/to/gml/file.xml" ) ).usingGraphML();
import( URI.create( "http://my.rst.server/graph.xml" ) ).usingGraphML();

and so on... WDYT?
> Add GraphML importer
> --------------------
>                 Key: SANDBOX-402
>                 URL:
>             Project: Commons Sandbox
>          Issue Type: New Feature
>          Components: Graph
>            Reporter: Thomas Neidhart
> There is already an GraphML exporter and it would be nice to have an importer too, but
for reasons of testing and convenience.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message