Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't display some graphs #24

Open
jeffersonjcosta opened this issue Nov 5, 2014 · 4 comments
Open

I can't display some graphs #24

jeffersonjcosta opened this issue Nov 5, 2014 · 4 comments

Comments

@jeffersonjcosta
Copy link

Hello.

I'm trying to show some graphs in my application, but in some cases the graph is not displayed.

Using the miserables.gexf file it works without problems, but when I try to display a simple example of directed graph, don't show anithing.

I'm having trouble with this gexf:

sem titulo

@raphv
Copy link
Owner

raphv commented Nov 6, 2014

Hello,

can you send me this gexf file so I can test what's wrong with it?

@jeffersonjcosta
Copy link
Author

Hi Raphael.Thanks for the feedback and attention.I'm trying to display these two files that are attached, but I can't. When I use the miserables.gexf file it works.
I hope that you can help me.
Thanks.
Regards,Jefferson Costa.
Date: Thu, 6 Nov 2014 02:32:03 -0800
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [gexf-js] I can't display some graphs (#24)

Hello,

can you send me this gexf file so I can test what's wrong with it?


Reply to this email directly or view it on GitHub.

                  =

@raphv
Copy link
Owner

raphv commented Nov 7, 2014

Hello,

There are issues with your GEXF files... Were they exported directly from Gephi?

In the first file you sent me, the namespace declarations were missing from your file, hence it was not considered valid XML. Make sure that the 2nd line looks like this:

 <gexf xmlns="http://www.gexf.net/1.1draft" version="1.1" xmlns:viz="http://www.gexf.net/1.1draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.1draft http://www.gexf.net/1.1draft/gexf.xsd">

In the second file, there was no position information for the nodes. Gexf-JS doesn't work with files that have no position information, so the GEXF file has to be imported first in Gephi, then spatialized.

@storresl
Copy link

I had the same issue after exporting from NetworkX, even by trying the "hello world" gexf example..

I solved it by exporting the gexf file with Gephi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants