Learn R Programming

rviewgraph (version 1.3.1)

rviewgraph-package: Animated Graph Layout Viewer

Description

rviewgraph provides an 'R' interface to Alun Thomas's 'ViewGraph' 'Java' graph viewing program.

Arguments

Details

Package: rviewgraph
Type: Package
Version: 1.3.1
Date: 2020-05-06
License: GPL-2
LazyLoad: yes
SystemRequirements: 'Java' >= 8

This package provides an 'R' interface to Alun Thomas's 'ViewGraph' 'Java' graph viewing program. It takes a graph specified as an incidence matrix, array of edges, or in igraph format and runs a graphical user interface that shows an animation of a force directed algorithm positioning the vertices in two dimensions. It works well for graphs of various structure of up to a few thousand vertices. It's not fazed by graphs that comprise several components. The coordinates can be read as an igraph style layout matrix at any time. The user can mess with the layout using a mouse, preferably one with 3 buttons, and some keyed commands.

The only function that the user needs to know about in this package is rViewGraph(). It launches the GUI by delegating to specific functions depending on the class of the arguments.