Skip to content
/ rogdf Public

R interface to the Open Graph Drawing Library

Notifications You must be signed in to change notification settings

igraph/rogdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R interface to the Open Graph Drawing Framework

OGDF

OGDF is a self-contained C++ class library for the automatic layout of diagrams. OGDF offers sophisticated algorithms and data structures to use within your own applications or scientific projects. The library is available under the GNU General Public License.

OGDF is developed and supported by TU Dortmund, Osnabrück University, University of Cologne, University of Sydney and oreas GmbH.

Installation

Until the OGDF R package makes it into CRAN, you can install it directly from github, using the devtools package:

install.packages("devtools")  # if you don't have devtools yet
library(devtools)
install_github("igraph/rogdf/OGDF")

Try it out

library(OGDF)
library(igraph)
g <- graph.star(10)
plot(g, layout=L_circular(g))

Star graph

g <- erdos.renyi.game(100, 1/100)
l <- L_circular(g)
plot(g, layout=l, vertex.size=3, vertex.label=NA)

Random graph

g <- graph.tree(20, 3)
plot(g, layout=L_tree(g))

Tree graph

About

R interface to the Open Graph Drawing Library

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages