R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  ## Register the 'ellipse' shape with igraph
  igraph::add_shape("ellipse",
                    clip = igraph::shapes("rectangle")$clip,
                    plot = igraphEllipse)
  igraph::add_shape("hexagon",
                    clip = igraph::shapes("rectangle")$clip,
                    plot = igraphHexagon)
  invisible("shaping")
}

Try the WayFindR package in your browser

Any scripts or data that you put into this service are public.

WayFindR documentation built on July 17, 2024, 3 p.m.