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

Static dataflow graph generator for Python?

I've been struggling for quite some time to find a static dataflow graph generator for Python. This is my ideal: Given a small python script example.py, (written in Python3), return some representation of the data flow graph. I was able to achieve…
4
votes
1 answer

How to specify the id when writing GraphML from NetworkX?

When creating a graph in NetworkX and exporting to GraphML, the keys automatically get turned into "d%i". For example: import networkx as nx G = nx.DiGraph() # or DiGraph, MultiGraph, MultiDiGraph, etc G.add_node(1, labelV="person", age=29,…
user1717828
  • 7,122
  • 8
  • 34
  • 59
4
votes
2 answers

Export Neo4j to GraphML with node/edge labels?

Has anyone been able to export GraphML, readable by Gephi or yEd, which properly displays labels in Gephi/yEd? I'm using the latest Neo4j community and APOC; I can export GraphML from APOC just fine, and import into Gephi/yEd, but there doesn't seem…
Phil
  • 61
  • 2
4
votes
1 answer

Add attributes in Networkx write_graphml before opening in Gephi

I have a dataframe consisting of possible network connections in the format df = pd.DataFrame(["A", "B", "Count", "some_attribute"]). This dataframe represents connections like this: A has a connection with B This connection occurred "Count"…
Guido
  • 6,182
  • 1
  • 29
  • 50
3
votes
2 answers

How convert an embedded Neo4j graph db to GraphML with Python?

I want to store my embedded Neo4j Graph db to GraphML to draw it with a tool like yEd. I'm managing the graph db with python27. Does any body knows a way to do that?
Marc Pou
  • 649
  • 2
  • 7
  • 20
3
votes
2 answers

Boost read_graphml example

I'm trying to build a simple GraphML loader using BOOST libraries. I have a GraphML file and I want to load it in a boost adjacency list structure. The graph is directed and the only information that it is stored are the name of the nodes…
John Smith
  • 31
  • 1
  • 3
3
votes
1 answer

How to query graphml using php, DomDocument and DomXPath?

Does someone know how to query a graphml document with php, DomDocument and DomXpath? My query seems to be correct. e.g. //graphml/graph/node $dom = new DomDocument(); $dom->load("doc.graphml"); $x = new DOMXPath($dom); $x->registerNamespace('y',…
3
votes
1 answer

graphml file containing emojis getting converted to black nodes in gephi

Good morning, I am trying to visualize an emoji graphml file in gephi, however, when I import it in, it keeps showing the black dots like here: I am not sure what is going on. Am I missing something? Please give me little direction if you could, I…
CaseebRamos
  • 684
  • 3
  • 18
3
votes
1 answer

Networkx - How to change edge id's?

I'm using networkx to create graphml files. I have parallel links so I'm using the MultiDiGraph function. After generating the file I open it in yED but I don't have all the connections that I created between the nodes. The only connections (edges)…
john doe
  • 81
  • 4
3
votes
1 answer

Networkx - exporting graphml with edge labels, height and width attributes, custom images

I want to automate a network topology diagram using python. I'm new to python so please bear with me. After doing some research I found out that I can use python to create graphml files which can be read by yEd. I'm learning how to use Networkx to…
john doe
  • 81
  • 4
3
votes
1 answer

Viewing .graphml files

I am trying to view a .graphml file in the graph yEd editor as suggested in this thread. However I have difficulty in viewing the values in the nodes. When I open the .graphml file it appears as shown in Figure 1. Then I clicked Layout-> Tree->…
SriniShine
  • 1,089
  • 5
  • 26
  • 46
3
votes
2 answers

Streaming data from Neo4j to Gephi - can't read url

As it is not possible yet to transfer data from Neo4j to Gephi via .graphml- file without loss of information I tried to stream the data. Therefore the Graph Streaming Plugin for Gephi exists here. Following the instructions and inserting…
Grapheneer
  • 897
  • 8
  • 25
3
votes
1 answer

Import Neo4j data to Gephi 0.9.1

I want to import neo4j node information to Gephi. Just advised from the web, and I followed the guide and try to import data to Gephi. Neo4j shell tool However, no response when try to open the graphml file. Is there any limit of graphml export to…
hellowong
  • 119
  • 12
3
votes
0 answers

Wrting graphML nodes with mapping between the attributes in networkx

Ideally I would like to have networkx produce a graphML like the follwoing i.e. with attribute inside the data tag. This is because the value in the dta tag and the attribute goldKey has a one to one correspondence:
Amrith Krishna
  • 2,768
  • 3
  • 31
  • 65
3
votes
0 answers

How to generate an editable diagram from SQL file?

I have SQL files with DDL statements (create table, create view, ...). I want to generate ERD from them that I can further refine in a diagram editor (Dia, yEd, Visio or the like). Tools that I found are usually working with a connection to a…
Martin Grey
  • 744
  • 2
  • 12
  • 26
1
2
3
13 14