aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-09-08 00:17:22 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-09-08 00:30:32 +0200
commit9390300915a642c08a494aa67bf970c9a6ad5ff3 (patch)
tree6a134e004851af48b5b89a6120fd101acc8c41ef
parent6983178b06f1efe61dc513d5b3fe1673c63ff47d (diff)
downloadpatches-9390300915a642c08a494aa67bf970c9a6ad5ff3.tar
patches-9390300915a642c08a494aa67bf970c9a6ad5ff3.tar.gz
gnu: Add r-graphlayouts.
* gnu/packages/cran.scm (r-graphlayouts): New variable.
-rw-r--r--gnu/packages/cran.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index bdfc3fb2c9..ac528468cb 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -15273,3 +15273,30 @@ installed fonts across different operating systems. The 'systemfonts' package
provides bindings to the native libraries for finding font files that can then
be used further by e.g. graphic devices.")
(license license:expat)))
+
+(define-public r-graphlayouts
+ (package
+ (name "r-graphlayouts")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "graphlayouts" version))
+ (sha256
+ (base32
+ "03dizbhhdhnzbj2i5zvqgs617kwcv4h2pha4f16adic0fph1rxl3"))))
+ (properties `((upstream-name . "graphlayouts")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-igraph" ,r-igraph)
+ ("r-rcpp" ,r-rcpp)
+ ("r-rcpparmadillo" ,r-rcpparmadillo)))
+ (home-page "https://github.com/schochastics/graphlayouts")
+ (synopsis "Additional layout algorithms for network visualizations")
+ (description
+ "This package provides several layout algorithms to visualize networks
+which are not part of the igraph library. Most are based on the concept of
+stress majorization by Gansner et al. (2004)
+<doi:10.1007/978-3-540-31843-9_25>. Some more specific algorithms allow to
+emphasize hidden group structures in networks or focus on specific nodes.")
+ (license license:expat)))