TypeFox / elk-libavoid-examples

Examples for the integration of Libavoid edge routing in ELK

Repository from Github https://github.comTypeFox/elk-libavoid-examplesRepository from Github https://github.comTypeFox/elk-libavoid-examples

ELK Libavoid Examples

This repository contains an example for using the ELK Libavoid Eclipse plug-in. The example uses one of the Eclipse plug-in templates with a command handler.

In this example, layout is invoked via the RecursiveGraphLayoutEngine. For other ways to use ELK layouts, see the ELK documentation.

The basic usage is very simple:

var engine = new RecursiveGraphLayoutEngine();
var graph = createGraph();
engine.layout(graph, new BasicProgressMonitor());

(SampleHandler.java:27-29)

The following steps are important when creating the graph:

The resulting edge routing can be read from the edge layout sections.

About

Examples for the integration of Libavoid edge routing in ELK

License:Other


Languages

Language:Java 100.0%