You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matteo Moci (Created) (JIRA)" <ji...@apache.org> on 2012/01/29 23:45:10 UTC

[jira] [Created] (SANDBOX-370) GraphML format exporter

GraphML format exporter
-----------------------

                 Key: SANDBOX-370
                 URL: https://issues.apache.org/jira/browse/SANDBOX-370
             Project: Commons Sandbox
          Issue Type: Improvement
          Components: Graph
    Affects Versions: Nightly Builds
            Reporter: Matteo Moci
            Priority: Minor


Commons-graph should have some way to read and write graph representations encoded with GraphML - http://graphml.graphdrawing.org/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Issue Comment Edited] (SANDBOX-370) GraphML format exporter

Posted by "Matteo Moci (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SANDBOX-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195865#comment-13195865 ] 

Matteo Moci edited comment on SANDBOX-370 at 1/29/12 10:47 PM:
---------------------------------------------------------------

Added an exporter to GraphML format to commons-graph. 
                
      was (Author: mox601):
    Added an exporter to GraphML format. 
                  
> GraphML format exporter
> -----------------------
>
>                 Key: SANDBOX-370
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-370
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Graph
>    Affects Versions: Nightly Builds
>            Reporter: Matteo Moci
>            Priority: Minor
>              Labels: export, graph, xml
>         Attachments: SANDBOX-370.patch
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Commons-graph should have some way to read and write graph representations encoded with GraphML - http://graphml.graphdrawing.org/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SANDBOX-370) GraphML format exporter

Posted by "Matteo Moci (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANDBOX-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Moci updated SANDBOX-370:
--------------------------------

    Attachment: SANDBOX-370.patch

Added an exporter to GraphML format. 
                
> GraphML format exporter
> -----------------------
>
>                 Key: SANDBOX-370
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-370
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Graph
>    Affects Versions: Nightly Builds
>            Reporter: Matteo Moci
>            Priority: Minor
>              Labels: export, graph, xml
>         Attachments: SANDBOX-370.patch
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Commons-graph should have some way to read and write graph representations encoded with GraphML - http://graphml.graphdrawing.org/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (SANDBOX-370) GraphML format exporter

Posted by "Simone Tripodi (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SANDBOX-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi resolved SANDBOX-370.
------------------------------------

    Resolution: Fixed

Patch applied, thanks for your efforts Matteo!!! see [r1237585|https://svn.apache.org/viewvc?view=revision&revision=1237585] for more details!

While keeping the core implementation, I applied some minor modifications to your patch, one of the purposes of exporters is be used via fluent APIs as well, so tests now look like:

{code}
   @Test
    public void shouldPrintGraphMLFormat()
        throws Exception
    {
        export( actual ).to( System.out ).usingGraphMLFormat();
    }
{code}

As a side note: the {Basic} implementations shall not be used to check Vertex/Edge type - we expect users will provide façades on their own data, so I moved checks over Labeled/Weighted interfaces
                
> GraphML format exporter
> -----------------------
>
>                 Key: SANDBOX-370
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-370
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Graph
>    Affects Versions: Nightly Builds
>            Reporter: Matteo Moci
>            Assignee: Simone Tripodi
>            Priority: Minor
>              Labels: export, graph, xml
>         Attachments: SANDBOX-370.patch
>
>   Original Estimate: 6h
>  Remaining Estimate: 6h
>
> Commons-graph should have some way to read and write graph representations encoded with GraphML - http://graphml.graphdrawing.org/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira