Skip to: Site menu | Main content

A Grails-like Rich Application Platform

Prefuse Plugin Print

Description

Graph/Tree visualizations via Prefuse.

Installation

The current version of griffon-prefuse-plugin is 0.1

To install just issue the following command

Usage

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

Node

Property

Type

Default

Required

Bindable

Notes

display

[Display]

drag

boolean | DragControl

 

(error)
(error)

 

 

pan

boolean | PanControl

 

(error)
(error)

 

 

zoom

boolean | ZoomControl

 

(error)
(error)

 

visualization

[Visualization]

 

 

 

 

 

 

graph

[Graph]

 

 

 

 

 

 

tree

[Tree]

 

 

 

 

 

 

table

[Table]

 

 

 

 

 

 

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

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. The following example shows how it can be used

Example

A port of Prefuse's Example.java can be found here. When ran it will display a frame that looks like the following screenshot

History

Version

Date

Notes

0.1

11-26-11

first release