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

What do you call a documentation about XML/GraphML's predefined elements?

today I have come to read some GraphML (basically just XML) files generated by yEd, and I have found many predefined elements such as UMLClassNode, Geometry, Fill... inside them. Unfortunately, I cannot seem to find any documentation regarding those…
0
votes
0 answers

Exporting a graph as a graphml file in an R package using boost graph with plotting capabilities

I developed a C++ program using boost-graph which stores the output as graphml files. This uses the compiled part of the boost graph library. I wanted to include this code in an R package using Rcpp, so I used BH, however the graphml writer is not…
0
votes
1 answer

Exporting NetworkX graph as graphml throws exception due to numpy.float64 value

I'm analyzing a weighted chemical reaction network using the following code: import networkx as nx import pandas as pd edge_data = pd.read_table('VULCAN 800.dat', sep=',') edge_list=[] edge_data =…
Tessa
  • 79
  • 1
  • 11
0
votes
1 answer

JgraphT GraphML importer failing on geojson properties

I am having an issue using the GraphMLImporter in JGraphT and I'm completely stumped. As part of our serialization process, we export our graph to graphml format. That works fine; we can take the exported file and view it in gephi or any other…
0
votes
1 answer

How to create a list of igraph graphs from .graphml files in R

I'm trying to execute the CalculateVertexHistKernel(G) in the graphkernels R package method to compute the similarity between two graphs. G is a list of igraph graphs. How do I create a igraph list from a set of graphml files?
SriniShine
  • 1,089
  • 5
  • 26
  • 46
0
votes
1 answer

Stylesheet for GraphML

Guys I want to convert an xml file to GraphML format, so I use the stylesheet below.The stylesheet generates the GraphML file but its schema cannot be validated in a graphml viewer. Can someone point me to what I have wrong in the stylesheet and…
Nobi
  • 1,113
  • 4
  • 23
  • 41
0
votes
1 answer

loading custom nodes and edges with graphml and jung

I'm confronted with problems while I#m trying to read and write graphs from and to a text file with JUNG. The situation is as follows: Given is a file that contains coordinates of a multigraph and its weight. An example is: 6346 6728 5911 …
J. Bug
  • 152
  • 1
  • 10
0
votes
1 answer

graph-tool: How to save Property maps elements in the graphml?

It is my first attempt to use graph-tools with python. I have a graph with some important information in Properties Maps (names, topics,...). When I save the graph using g.save("test.graphml"), the Property Map related information is not saved:…
Fraxœ
  • 1
  • 2
0
votes
1 answer

SAX Parser returning empty List in main class

I am trying to extract data from GraphML file. file Link: https://www.dropbox.com/s/mp5x7ykqabmpzsg/EXEMPLE%202.graphml?dl=0 Here is my default handler class: public class MLAnalyser extends DefaultHandler { public List>…
Khaled
  • 81
  • 1
  • 14
0
votes
1 answer

Graph tool GraphML support for coloured vertices?

I am trying to use graph-tool to graph a network graph with coloured vertices. I am trying to graph the following graphML file from here shown below. However, the colour are not showing with the following code: g = Graph() g=…
Gawnie
  • 121
  • 4
0
votes
0 answers

Graphml parse error : Invalid xmlChar

igraph version : 0.6.5 python version : 2.7.6 I am calculating the Betweenness centrality on a graphml graph dump. But while reading through the Read_GraphML function it throws the following error : egraph =…
arjun045
  • 103
  • 11
0
votes
1 answer

How to load Graph from graphml file with boost

i dont know how to load a graph from graphml file with boost. I'm able to save a graphml file, but loading is not possible. My Graph has the type typedef boost::labeled_graph
Jacks
  • 67
  • 5
0
votes
1 answer

What is wrong with this XSLT that converts graphml to svg?

I found solving for my previous question. I was needed to modificated graphml format to svg. I run test examples from the article, but something wrong with it, svg not properly rendering, but output as if it is proper. My test.xml:
Juriy
  • 565
  • 1
  • 5
  • 17
0
votes
1 answer

Unknown command 'import-graphml', when trying to import into Neo4j database

It has been asked before, but in that case the problem was miraculously solved (https://github.com/jexp/neo4j-shell-tools/issues/25). I, sadly, am not so lucky. Problem: neo4j-shell does not recognize the import-graphml command. neo4j-sh (?)$ help…
Tom Hemmes
  • 2,000
  • 2
  • 17
  • 23
0
votes
1 answer

Etree returns a "random" string instead of attribute name

I am new to python and trees at all, and have encountered some problems. I have the following dataset structured as:
Arefo
  • 49
  • 6