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
0 answers

Draw a JUNG graph having more than two vertices between a pair of nodes

Ok so here is a clearer explanation : I have now understood that I need to use sparse ou SparseMultigraph type to be able to have bidirectional edges so I have changed my GraphML class as such : class GraphML { public…
Ziwdigforbugs
  • 1,185
  • 8
  • 24
  • 41
0
votes
1 answer

Convert a graphML file into another graphML using XSL?

Hi have a simple graphML file composed of 3 nodes and 2 connections and I would like to convert it so that the internal structure of tags and attribute is differently organized. The original file is the following:
Albz
  • 1,982
  • 2
  • 21
  • 33
0
votes
1 answer

Networkx edge not adding attributes correctly

I've pulled up some code I used to play with in 1.6.1 of networkx. On 1.8.1 it doesn't work when writing to gml or graphml. The problem boils down to being unable to write edge attributes inside the data dict like so: BasicGraph =…
Darkstarone
  • 4,590
  • 8
  • 37
  • 74
0
votes
1 answer

Conversion of graphs from TGF to d3.js

My current workflow is starting with graphs in TGF format, reading them in with yED and using yED to output them to some image format. I would rather have d3.js output. Any tool out there (preferably a Ruby gem) that takes graphs in TGF format and…
Chad Brewbaker
  • 2,523
  • 2
  • 19
  • 26
0
votes
1 answer

JUNG - How to convert a DirectedGraph built from GraphML file to a Tree (Forest) type

Right now I have a GraphML file that was built by writing out a JUNG DelegateTree graph using JUNG's GraphMLWriter. I'm trying to now read that file back into a new DelegateTree. When using GraphMLReader, you cannot read into a tree type (you get…
Smitty
  • 403
  • 2
  • 11
0
votes
2 answers

Boost GraphML reader and yEd

I am trying to read a .graphml that yEd (yEd) generates. I am able to read simple and manually-generated .graphml files but the yEd files contains several properties to be defined. Does any one has a running example that show how to deal with such…
GDG
  • 397
  • 5
  • 14
0
votes
2 answers

Neo4j 2.0 + Gremlin + Graphml label support

I am using neo4j 2.0 to store a lot of data. The data massive amount is generated using a ruby script and saved in a graphml file and then imported into neo4j using Gremlin. g.loadGraphML('graphml.xml') With neo4j 2.0, there is a new cool support…
Peter
  • 1,495
  • 1
  • 14
  • 21
0
votes
1 answer

how to read graph-domain attributes with boost::read_graphml?

Probably a silly question, but I can't find any answer online. My application reads a topology from a custom file and builds a boost::graph out of it. I'm in the process of moving to a more standard graphml representation. I can read/write node…
manuhalo
  • 165
  • 1
  • 8
0
votes
1 answer

How to import a GraphML DB in embedded Neo4J with Java?

Is it possible to import a database as GraphML XML-File in embedded Neo4j with Java? I tried to run the following script but without any success: g.loadGraphML('graphMlFileLocation') I'm unable to use the Script-Engine described here Is there…
droiddude
  • 177
  • 4
  • 15
0
votes
2 answers

How to output a directed graph in graphml format?

How would I output the following graph into graphml? typedef struct Vertex{ std::string name; std::string cmdb_id; Vertex& operator= (const Vertex& rhs) { if (this == &rhs) …
bayerb
  • 649
  • 2
  • 9
  • 28
0
votes
1 answer

Read gml file using GraphML Reader Prefuse

I am new to Prefuse.I am facing problem reading the polbooks.gml file using GraphML Reader. It can successfully read a xml file but not a gml file.Please suggest a solution how to read a gml file in Prefuse. Below is my code for GraphML…
skjindal93
  • 706
  • 1
  • 16
  • 34
0
votes
1 answer

creating .graphml tree diagram from nested list

I am desperately looking for a solution to create a nice binary tree diagram. It is crucial that incomplete nodes have distinguishable edges (if any). I failed to produce the desired result with .dot, because I know of no way to order nodes. I don't…
Markus Rother
  • 414
  • 3
  • 10
-1
votes
1 answer

Is there a way to build a graph in Gephi and export it to TitanDb?

Is there a way to build a graph using Gephi with the Data Laboratory and export it to titan db? I tried the following without success: Built a simple graph in Gephi with the Data Laboratory Saved the graph as GraphML format Used the titanDb's…
Breach
  • 1,288
  • 1
  • 11
  • 25
-1
votes
1 answer

how to define an index in the graphML format?

i exported my data into graphML format, and want to import them into neo4j via gremlin's graphML.import() function. i need to create indexes to index all my imported data. is it even possible in the graphML format? my export xml looks like…
ulkas
  • 5,748
  • 5
  • 33
  • 47
1 2 3
13
14