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
2
votes
1 answer

Boost: access graph specific properties with read_graphml()

I am trying to read graph related (custom) properties from a .graphml file created with yEd using the Boost Graph library. Reading vertex and edge (dynamic_)properties works but my graph properties are always empty. I've also came across how to read…
CodeFinder
  • 21
  • 1
  • 2
2
votes
2 answers

GraphML inport into Titan

I'm new in Titan world. I would like to import data stored in GraphML file into a database. I downloaded titan-1.0.0-hadoop1 I run ./titan.sh I run ./gremlin.sh In Gremlin console I wrote: :remote connect tinkerpop.server…
Domel
  • 29
  • 3
2
votes
0 answers

Igraph problems: i can not import a graph file(;graphml) with my igragh

I have a problem with my igraph and I'll ask your help. When I entered: g = Graph.Read_GraphML("apk.graphml") I get a warning main:1: RuntimeWarning: unsupported attribute type (not string and not numeric) at src/attributes.c:507 And when i try…
2
votes
0 answers

How to add path attributes (or labeled paths) in networkx

I have a path graph, which is basically a single long path. To give a better Idea, consider the case that I need to represent 4 stanzas of a poem as a path. Two roads diverged in a wood, and I I took the one less traveled by, And that has made all…
Amrith Krishna
  • 2,768
  • 3
  • 31
  • 65
2
votes
1 answer

Store data into neo4j from eclipse

I have a gml file that I read it with java in eclipse and I want to know how to store the result of the code below in neo4j: TinkerGraph graph = new TinkerGraph(); GMLReader gml= new GMLReader(graph); …
Salma Hakim
  • 105
  • 8
2
votes
2 answers

handling python networkx keyerror using graphml

I have a problem with my networkx code. I'm trying to list the attributes of my edges but I keep getting KeyError or when I try to catch the error it skips the entire code. Background: I have a graph that has the edges representing firewall rules…
ahmed
  • 21
  • 1
2
votes
2 answers

Export graphml from neo4j community 2.2 using shell tools 2.2

I downloaded the latest version shell-tools_2.2. I didnt find a lib directory but I extracted the the files to the bin folder. Followed all the remaing instructions shown here. when I run neo4j-shell and try to export graphml I get the following…
dw03
  • 95
  • 5
2
votes
0 answers

Error when using export-graphml in Neo4j 2.2

I am trying to use the export-graphml function in Neo4j 2.2. I have downloaded neo4j shell tools and extract it into the lib directory. I am able to export the entire database as a graphml file. However, if I try to export a subset using a query, I…
Mel18
  • 125
  • 4
2
votes
1 answer

XSL - How to create graphml edge from XML to connect node with same author/actors?

I have an XML file that shows a list of movies. Each movie has some metadata to describe the plot, actors, directors, etc. This is the example structure: The Shawshank Redemption 1994
andreapavan
  • 697
  • 1
  • 7
  • 24
2
votes
3 answers

Importing GraphML to create graph in JGraphX

For a project that I working on, I am getting information in the form of GraphML format(I can change the graphML file as well) and I want to create the desired graph from that information, I am able to get the correct layout, with appropriate edges…
2
votes
2 answers

Import GraphML to Neo4j: how to specify node labels?

I want to import my GraphML data to Neo4j database (version 2.0.1). The question is, how can I specify Neo4j node label in GraphML? I tried the following to no avail:
Sergey Kolodiy
  • 5,829
  • 1
  • 36
  • 58
2
votes
1 answer

How to represent an iterable attribute using graphml format

I have an example of a graph with a graph property named random that has a value of 23. Is there a way to represent say a list of values as a graph attribute in this format without violating the core format?
quine
  • 982
  • 1
  • 12
  • 20
2
votes
0 answers

In QuickGraph, when exporting to graphml, how do I specify the edge color?

I'm updating a method that exports a graph from .dot to .graphml format. Previously, colors and labels were set in the FormatEdge and FormatVertex events. I am not clear on where to set the color for graphml. .Dot Way ... public ExportDot() { …
Becky
  • 207
  • 2
  • 12
2
votes
2 answers

Merge several graphml-files with networkx and remove duplicates

I'm new to programming, Python and networkx (ouch!) and trying to merge four graphml-files into one and removing the duplicate nodes, following the excellent instructions here However, I can't figure out how to keep track of the duplicate nodes when…
mattiasostmar
  • 2,869
  • 4
  • 17
  • 26
2
votes
1 answer

JVM creation failed in gephi software

I have an GraphML Graph File. It is a large file. When I try to open this file in Gephi software the error message appears 'jvm creation failed'. I already increased the size as 1400mb by editing its config file. but again that error message…
nilashan
  • 690
  • 1
  • 8
  • 30