Skip to content

Converts VUE (Visual Understanding Environment) files into graphml formated files.

Notifications You must be signed in to change notification settings

edanweis/vue2graphml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

vue2graphml

Converts VUE (Visual Understanding Environment) files into graphml formated files.

Here is some very rough I-just-learned-to-program python code which you can use to convert the kind of XML directed labeled graphs produced in VUEs own XML format.

People, if you have a better way of parsing VUE's XML into graphml - please fork this repo and show me how it's done!

Features

  • Converts all files under a given directory
  • Translates node attributes: label, width, height, x position, y position, timestamp, fill and stroke.

Instructions

You must provide the correct path:

for dirname, dirnames, filenames in os.walk('C:\Users\your\path\goes\here'):

Note

This script not convert edge labels or links between edges. Also, it is recommended to format the resulting graph in yED using the Edit > Properties Mapper. Once opened in yED, map the data attributes to native yED ones.

Python modules dependencies

Todo:

  • Add labeled edges to .graphml formats (?)
  • Drag 'n drop ?

About

Converts VUE (Visual Understanding Environment) files into graphml formated files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages