[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Re: Problem with layouts with GraphML
From: |
Dr Karl |
Subject: |
[igraph] Re: Problem with layouts with GraphML |
Date: |
Fri, 20 Nov 2009 02:38:35 -0800 (PST) |
User-agent: |
G2/1.0 |
Hi Tamas,
> Or, alternatively, take the source code of igraph_write_graph_graphml
> and tweak it to your needs.
That sound to me like the way to go!!!
If I make a version of igraph_write_graph_graphml compatible with
yFiles I will post it here in case someone ever needs it.
Thank you, great idea!!
On 20 nov, 11:20, Tamas Nepusz <address@hidden> wrote:
> > Well, I think it may be easier to store the layout like this and later
> > make a post-processing of the XML to write the layout information with
> > the needed format.
>
> Maybe this could be done with an appropriate XSLT stylesheet or
> something like that... basically you would have to inject the yFiles
> schema definition to the XML header, then iterate over every <node> tag,
> remove the X and Y attributes and insert the appropriate yFiles tags
> instead.
>
> Or, alternatively, take the source code of igraph_write_graph_graphml
> and tweak it to your needs.
>
> --
> Tamas
>
> _______________________________________________
> igraph-help mailing list
> address@hidden://lists.nongnu.org/mailman/listinfo/igraph-help