Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Graph visualizations with prefuse
Groovy Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
griffon-app/conf
scripts
src/main/griffon/plugins/prefuse
.gitignore
LICENSE.txt
PrefuseGriffonAddon.groovy
PrefuseGriffonPlugin.groovy
README.md
application.properties

README.md

Graph visualizations with Prefuse

Plugin page: http://artifacts.griffon-framework.org/plugin/prefuse

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.

Something went wrong with that request. Please try again.