Skip to content

Extends the gml export of jGraphT to better support the import to yED

License

Notifications You must be signed in to change notification settings

Systemdir/GML-Writer-for-yED

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Language

GML-Writer-for-yED

Extends the Graph Modeling Language (GML) export of JGraphT to better supports the import to yED.

  • Released: January 17, 2017
  • Based on: JgraphT (and yED)
  • Written by Hayato Hess and Contributors

Getting Started

The package com.github.systemdir.gml.examples in the Example directory contains two small demo applications to help you get started.

To use the gml writer, ensure that your project has following maven dependencies:

<dependencies>
        <dependency>
            <groupId>com.github.systemdir.gml</groupId>
            <artifactId>GMLWriterForYed</artifactId>
            <version>2.1.0</version>
        </dependency>

        <dependency>
            <groupId>org.jgrapht</groupId>
            <artifactId>jgrapht-core</artifactId>
            <version>1.0.1</version>
        </dependency>
</dependencies>

How to import to yED

After exporting the graph to a .gml file, import it in yED by using the open dialog. After importing, the graph will most likely look broken as every node is placed on top of each other. To resolve this, go to the Layout menu in yED and select one fitting layout. Further, the Fit Node to Label in the Tools menu is useful when the labels are longer than the node's widths.

About

Extends the gml export of jGraphT to better support the import to yED

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages