Registry / other / jung-visualization

jung-visualization

JSON →
library2.1.1javamavenunverified

Core visualization support for the Java Universal Network/Graph (JUNG) framework, enabling graph rendering.

<dependency> <groupId>net.sf.jung</groupId> <artifactId>jung-visualization</artifactId> <version>2.1.1</version> </dependency>
INSTALL
IMPORT
SIG · JUNG-VISUALIZATION
J
jung-visualization
otherjavav2.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

VisualizationViewer
edu.uci.ics.jung.visualization.VisualizationViewer

Displays a simple directed graph using JUNG visualization.

import edu.uci.ics.jung.graph.DirectedSparseGraph; import edu.uci.ics.jung.visualization.VisualizationViewer; import javax.swing.JFrame; public class Quickstart { public static void main(String[] args) { DirectedSparseGraph<String, String> graph = new DirectedSparseGraph<>(); graph.addVertex("A"); graph.addVertex("B"); graph.addEdge("edge1", "A", "B"); VisualizationViewer<String, String> vv = new VisualizationViewer<>(new edu.uci.ics.jung.graph.util.TestGraphFactory().getDirectedGraph()); JFrame frame = new JFrame(); frame.getContentPane().add(vv); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); frame.setVisible(true); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
jung-visualization — mvn dependency:get jung-visualization · libregistry