jungerer.vis

Functions to visualize a graph on Swing.

circle-layout

(circle-layout graph)
Returns an edu.uci.ics.jung.algorithms.layout.CircleLayout for graph. This
layout positions nodes equally spaced on a regular circle.

fr-layout

(fr-layout graph)
Returns an edu.uci.ics.jung.algorithms.layout.FRLayout for graph. This layout
implements the Fruchterman-Reingold force-directed algorithm for node layout.

isom-layout

(isom-layout graph)
Returns an edu.uci.ics.jung.algorithms.layout.ISOMLayout for graph. This
layout implements a self-organizing map layout algorithm, based on Meyer's
self-organizing graph methods.

kk-layout

(kk-layout graph)
Returns an edu.uci.ics.jung.algorithms.layout.KKLayout for graph. This layout
implements the Kamada-Kawai algorithm for node layout. Does not respect filter
calls, and sometimes crashes when the view changes to it.

spring-layout

(spring-layout graph)
Returns an edu.uci.ics.jung.algorithms.layout.SpringLayout for graph.

Visualizable

protocol

members

view

(view this)(view this option)
Visualizes graph on Swing. The first argument must be
edu.uci.ics.jung.graph.Graph or edu.uci.ics.jung.algorithms.layout.Layout. The
optional second argument is an option map including :title, :frame-size,
:layout-size, :node-label-fn, and :edge-label-fn.