Skip to content

Commit

Permalink
fix visOptions man
Browse files Browse the repository at this point in the history
  • Loading branch information
bthieurmel committed Oct 5, 2016
1 parent 6eb78ad commit 6fd7b8a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
9 changes: 7 additions & 2 deletions R/visOptions.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
#' ##########################
#' # nodesIdSelection
#' ##########################
#'
#'
#' visNetwork(nodes, edges) %>%
#' visOptions(highlightNearest = TRUE, nodesIdSelection = TRUE)
#'
Expand All @@ -90,7 +90,12 @@
#' ##########################
#' # selectedBy
#' ##########################
#'
#' nodes <- data.frame(id = 1:15, label = paste("Label", 1:15),
#' group = sample(LETTERS[1:3], 15, replace = TRUE))
#'
#' edges <- data.frame(from = trunc(runif(15)*(15-1))+1,
#' to = trunc(runif(15)*(15-1))+1)
#'
#' visNetwork(nodes, edges) %>%
#' visOptions(selectedBy = "group")
#'
Expand Down
7 changes: 6 additions & 1 deletion man/visOptions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6fd7b8a

Please sign in to comment.