Skip to content

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

License

Notifications You must be signed in to change notification settings

AndiHofi/GML-Writer-for-yED

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 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>1.0.0</version>
        </dependency>
        <dependency>
            <groupId>org.jgrapht</groupId>
            <artifactId>jgrapht-core</artifactId>
            <version>1.0.0</version>
        </dependency>
        <dependency>
            <groupId>org.jgrapht</groupId>
            <artifactId>jgrapht-ext</artifactId>
            <version>1.0.0</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.

Manually Download Ressources

Pictures

yed2 yed

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%