/jgrapht-treevisualize-weka-package

Weka package for visualizing trees using the JGraphT library.

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

jgrapht-treevisualize-weka-package

TreeVisualize plugin for the Explorer using JGraphT to generate the tree.

In contrast to graphviz-treevisualize, this plugin does not rely on external tools and allows export to GraphML.

Releases

How to use packages

For more information on how to install the package, see:

https://waikato.github.io/weka-wiki/packages/manager/

Maven

Add the following dependency in your pom.xml to include the package:

    <dependency>
      <groupId>com.github.fracpete</groupId>
      <artifactId>jgrapht-treevisualize-weka-package</artifactId>
      <version>2024.8.19</version>
      <type>jar</type>
      <exclusions>
        <exclusion>
          <groupId>nz.ac.waikato.cms.weka</groupId>
          <artifactId>weka-dev</artifactId>
        </exclusion>
      </exclusions>
    </dependency>

Screenshots

Plugin menu

plugin menu

Example graph

J48 tree generated from UCI dataset iris:

graph

GraphML export

GraphML generated from the original dotty:

graphml