Questions tagged [graphml]

File-format for graphs which consists of a language core to describe the structural properties of a graph and a flexible extension mechanism to add application-specific data

GraphML is a comprehensive and easy-to-use file format for graphs. It consists of a language core to describe the structural properties of a graph and a flexible extension mechanism to add application-specific data. Its main features include support of:

  • directed, undirected, and mixed graphs,
  • hypergraphs,
  • hierarchical graphs,
  • graphical representations,
  • references to external data,
  • application-specific attribute data, and
  • light-weight parsers.

Official Home

GraphML:Wikipedia

209 questions
1
vote
2 answers

Python Networkx can't export to graphml with attributes

Having the following problem converting a networkx graph to a graphml (can't post all the code here but here is the gist). NetworkX version is 1.6.2 I have a networkx digraph called G G = nx.DiGraph() Populate it with weighted edges from a list of…
Michael
  • 154
  • 3
  • 11
1
vote
1 answer

Failure importing GraphML using neo4j-shell tools

When running neo4j-shell with tools from https://github.com/jexp/neo4j-shell-tools it will not load my graphml file, validated on http://validator.w3.org/check. Neo4j runs on Ubuntu under KDE with OpenJDK IcedTea 2.3.9 Here is the command and…
Lars GJ
  • 356
  • 2
  • 8
1
vote
2 answers

How to read in graphml file into networkx with weird characters?

I am trying to read in a graphml file of my facebook network into NetworkX. However, because some of my friends have unusual characters, such as accents, their names are unable to be read into networkx. I ran the command: g =…
user2292210
  • 837
  • 1
  • 8
  • 8
1
vote
0 answers

Boost Graph read_graphml & dynamic vertex properties

I have use the boost graph library and read in a graph from a graphml such as this:
Wilbert
  • 7,251
  • 6
  • 51
  • 91
1
vote
1 answer

Optimising memory utilization in python networkx

I am analysing a network of blogs by making a tag network(Edges between blogs which share common tags with weight=no of shared tags/total no of tags which are in either. There are around 10000 nodes in the graph. I need to convert the raw data into…
avmohan
  • 1,820
  • 3
  • 20
  • 39
1
vote
3 answers

How to remove "xmlns:y" in this case?

I want to make the below graphml(xml) file.
1
vote
1 answer

jQuery GraphML Parsing (Cleaning up imported data)

So I am switching the graphML import method in one of my scripts and I am having trouble cleaning up my imported data. Currently, the graphML data looks like this: www.someURL.com Guy,…
1080p
  • 255
  • 1
  • 4
  • 10
1
vote
2 answers

with Networkx, how to write graphml and other format into a string, instead of a file?

I'm using networkx very superficially. It's easy to write a graph to a file, like graphml, but how can I save it into a string without bothering the file system? Its doc says it is possible.
Matt
  • 741
  • 1
  • 6
  • 17
1
vote
1 answer

GraphML Node Coloring Prefuse

I have a prefuse application that loads GraphML files where the nodes have a "Color" string property. ie. Green I want to allow a range of predefined colors to be specified, and I don't want to force…
PattimusPrime
  • 867
  • 8
  • 21
0
votes
1 answer

Nodes not getting Colored as per graphml

Why does this graphml file below does not render the node color properly in PREFUSE?
nikel
  • 3,402
  • 11
  • 45
  • 71
0
votes
1 answer

graphml generate from my application cannot open on yEd Graph Editor

I generate graphml file from my application writing in Delphi7. Every thing is fine except when I open some my graphml file using yEd Graph Editor It raise Error like this. test.graphml. at B.A.A.I.A.ā(Unknown Source) at B.A.A.I.D.ā(Unknown…
0
votes
1 answer

How does one import group data from a graphml file into NodeXL

I've been experimenting with importing graphml into NodeXL and am excited about how clean that is. I still have not found an easy way to import group data as part of my graphml file? Any hints would really be appreciated: More specifically I am…
0
votes
0 answers

I am playing around with DGL. In this specific case, I have a heterogenous graph, but the output of the RGCN is not what I expect

This is what my graph looks like: cust_prod_graph = Graph(num_nodes={'customer': 8813, 'product': 157466}, num_edges={('customer', 'browsed', 'product'): 860771, ('customer', 'purchased', 'product'): 68367}, metagraph=[('customer',…
0
votes
0 answers

How to save a osm networkx graph or .graphml file to a .osm.pbf file using python?

I have saved a road network of a town using osmnx. I am currently using networkx to then manipulate the transport network by adding / removing elements such as nodes or edges (roads) to that network. I then want to save this adjusted networkx graph…
jdw141
  • 1
  • 1
0
votes
0 answers

Filter large graphml files by stripping parts

I have a lot of graphml files. Within a directory, i have sub directories and inside them, about 3 thousand files each one. Without visualizing them, that is, directly opening them with python, its structure goes something like this:
John Doe
  • 105
  • 8