Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Graph visualizations with prefuse

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 griffon-app
Octocat-spinner-32 scripts
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 PrefuseGriffonAddon.groovy
Octocat-spinner-32 PrefuseGriffonPlugin.groovy
Octocat-spinner-32 README.md
Octocat-spinner-32 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.