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

Cytoscape can't read the node attribute in graphml

I found that although Cytoscape (version 3.5) can import network files in graphml format, it can't read the node and edge attributes in graphml-format network file. For example, the following graphml-format network should be display with nodes…
friendpine
  • 11
  • 1
1
vote
0 answers
1
vote
0 answers

I want to construct a GraphML File by generating the nodes and edges

i need to create a file with .graphML extension, The file will have a header and footer so the execution is like output file contains: header generated nodes list generated edge list footer the header and footer are available in text file or it can…
Mohan Sha
  • 11
  • 3
1
vote
1 answer

Issues with exporting Neo4j 3.2.2 Graph to Gephi 0.9.1

As there is no Neo4j plugin for Grephi 0.9.1 I tried to export my Neo4j graph as an .graphml file. I created an empty .graphml file in Grephi and used the procedure: call apoc.export.graphml.all('file:C:/test.graphml',{}) However I recieve: Failed…
Grapheneer
  • 897
  • 8
  • 25
1
vote
2 answers

Iterating through a GraphML (XML) file and extracting all the values

I have an XML (actually GraphML) file as follows: p
1
vote
2 answers

Problems with opening GML(Graph Modelling Language) format file

I am trying to open an GML format file but couldn't work. Basically, I use a code called ChemTraYzer to produce some files related to GML, i.e. a .gml file and a folder with some required pictures. Here is the .gml file: graph [ hierarchic 1 …
Lance
  • 21
  • 4
1
vote
1 answer

Gephi finds no node/relation properties on import

I want to visualize my Neo4j dataset with Gephi. After installing apoc and get it working, I called call apoc.export.graphml.all("/tmp/test2.graphml",{}) and I get the right file. Now I import/open this .graphml-file in Gephi 0.9.1 but in the…
Andy
  • 129
  • 1
  • 3
  • 15
1
vote
1 answer

reading graphml format file

I have a dataset of a weighted network which has a graphml format. I used below function to read it in R using "igraph" package, but it did not get the data's weight. Any idea to help? net1<-read.graph("text.graphml", format = "graphml")
minoo
  • 555
  • 5
  • 20
1
vote
1 answer

How to generate graphml from report with jqassistant, asciidoc and maven

I am using jqassistant 1.2.0 with asciidoc 1.5.3 - all in maven. My question is a specific question for the maven plugin "jqassistant". I am scanning a large java war from a server using "mvn clean install" as the default command line prompt. I am…
Tilde
  • 155
  • 7
1
vote
2 answers

Converting GraphML file to another

Hi I have a simple graphML file and I would like to remove the node tag from the GraphML and save it in another GraphML file. The GraphML size is 3GB below given is the sample. Input File :
arjun045
  • 103
  • 11
1
vote
0 answers

Consistent ordering of node attributes in Graphml file using networkx library in Python

I'm creating graph using networkx library and also storing that graph as graphml file (using write_graphml function of networkx library). In my graph, each node have 8 different attribute and edge have one attribute. (Total no of attributes =…
1
vote
1 answer

Automatically Generating Microsoft Threat Modeling Tool model

I have a context model in GraphML that I want to import into the Microsoft Threat Modeling Tool (MTMT). After looking into the XML file used to represent the model it looks unreadable/hashed in some way. I want to be able to generate a (generic)…
Thor
  • 459
  • 4
  • 15
1
vote
1 answer

Appending multiple elements with etree, how to write each element on new line?

I am adding some elements to some nodes in a a graphml file using Python and etree. I have two lists of strings with some data which I want to write to my .graphml file. I have managed to do this but when using the .append() function it writes the…
Arefo
  • 49
  • 6
1
vote
2 answers

XML document transforms using XSLT to GraphML in a single line

I've compiled an XSL document to transform custom XML documents to GraphML (with some additional metadata for the yEd Graph Editor). The transformation works as expected and completes, but there's one problem. No matter which tool I've used to…
1
vote
0 answers

Is there a way to store mapping between attributes in graphml?

I have a graph, in which I need to store multiple node attributes. Two of the attributes have one to one correspondence, i.e key-value relation. If I store them as different attributes, I cannnot enforce the mapping and the mapping doesnt get…
Amrith Krishna
  • 2,768
  • 3
  • 31
  • 65