Toolkits Swing
Platforms
  • linux
  • macosx
  • windows
  • solaris
Framework
License Apache Software License 2.0
Documentation No documentation link provided
Downloads 72
Rating
(0)

Authored by:

Andres Almiray
aalmiray@yahoo.com

Graph/Tree visualizations via Prefuse.

Usage

The following nodes will become available on a View script upon installing this plugin

Node Property Type Bindable Notes
display drag boolean no may be a DragControl too
pan boolean no may be a PanControl too
zoom boolean no may be a ZoomControl too
visualization
graph
tree
table

Nodes are automatically added with pf as prefix, here's an example of their usage

    pfdisplay(size: [720, 500], drag: true, pan: true, zoom: true) {
        pfvisualization(id: 'visualization') {
            pfgraph(id: 'graph') {
                current.addColumn 'name', String
                current.addColumn 'gender', String
            }
        }
    }

Configuration

Styles and shapes can be configured by placing a GraphConfig.groovy inside griffon-app/conf. This script accepts two top level nodes: shapes and styles.

Example

A port of Prefuse's Example.java can be found here.