-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
GraphML Importer Attribute Loading Problem #1656
Comments
Here's a sample GraphML file that demonstrates the problem. Nodes/relationships are loaded fine, but no attributes. |
Of course, please rename "GraphML.txt" to "GraphML.graphml" for loading. I had to change the file extension so I could upload it. |
Notes: we might assume String type for undeclared attributes, since Neo4j APOC does this, but I am not sure that's valid GraphML according to http://graphml.graphdrawing.org/specification/primer/graphml-primer.html |
Original topic: http://forum-gephi.org/viewtopic.php?f=29&t=5939 |
The actual XML is getting beyond my expertise, but I posted over at the APOC site (portion of Neo4j that generates the GraphML); perhaps they will chime-in... neo4j-contrib/neo4j-apoc-procedures#258 |
Can you try if this was fixed as indicated in neo4j-contrib/neo4j-apoc-procedures#258 please? |
Did it work? |
My appologies. I have abandoned Neo4j and Gephi right now, due to lack of time.
Get Outlook for iOS
On Sat, Apr 15, 2017 at 11:04 AM -0400, "Eduardo Ramos" <[email protected]> wrote:
Did it work?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I am still seeing this issue with APOC 3.1.3.7, despite neo4j issue 258 being marked as closed. |
Is it producing the correct output? |
I am not sure whether the output is correct according to the graphml standard, but Gephi 0.9.1. fails to recognise the node or edge attributes exported by APOC. A snippet of an exported graph is shown below. I don't know whether this is a bug in Gephi or a bug in APOC. <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
<graph id="G" edgedefault="directed">
<node id="n0" labels=":Asset"><data key="labels">:Asset</data><data key="asset_id">Ua8oJEML7KXcvUTzL2g9WvJs9xyXTrj8YvJkzZ</data></node>
<node id="n1" labels=":Transaction"><data key="labels">:Transaction</data><data key="txid">74ac74b7b1fca6557cac3ce4d79a11f63c65d40f51eded347c0c43b532728cef</data></node>
<node id="n2" labels=":BTCAddress"><data key="labels">:BTCAddress</data><data key="hash">1DwmXwjNfFgdzA9yvwGPcu6kfv3znGBN7n</data></node>
<node id="n3" labels=":BTCAddress"><data key="labels">:BTCAddress</data><data key="hash">3KBSjKsSc4VKCfoWnj1fe8XHRhiG52gYZA</data></node>
<node id="n4" labels=":Transaction"><data key="labels">:Transaction</data><data key="txid">6489c12b5c90963cae7edaa0e91554fd29f2737d83d0af7e21732ad081d6481a</data></node> |
It seems it's still not generating the key headers, that should look like: <key id="labels" for="node" attr.name="labels" attr.type="string"/> |
has there been any progress at all on this issue? Same problem |
@snow-frog the issue is still open in neo4j neo4j-contrib/neo4j-apoc-procedures#466 |
Expected Behavior
Ability to handle value entries in GraphML file, as documented at https://gephi.org/users/supported-graph-formats/graphml-format/
Current Behavior
Only handles attributes as described in this forum link: http://forum-gephi.org/viewtopic.php?f=29&t=5878&p=13712&hilit=graphml#p13712
Possible Solution
Deferred to developers...
Greatly increases usefulness of Gephi to entire Neo4j community, which is limited by the availability of free visualization tools.
Steps to Reproduce
Context
Frantically trying to find free visualization tools for use with Neo4j. This issue is a showstopper (not being a good enough programmer these days to write my own GraphML generator from Neo4j).
Your Environment
N/A - Any GraphML file with value should do fine to reproduce the error.
The text was updated successfully, but these errors were encountered: