forked from datastorm-open/visNetwork
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvisGetViewPosition.Rd
More file actions
34 lines (30 loc) · 1.23 KB
/
Copy pathvisGetViewPosition.Rd
File metadata and controls
34 lines (30 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/visGetUtils.R
\name{visGetViewPosition}
\alias{visGetViewPosition}
\title{Function to get current view position, with shiny only.}
\usage{
visGetViewPosition(graph, input = paste0(graph$id, "_viewPosition"))
}
\arguments{
\item{graph}{: a \code{\link{visNetworkProxy}} object}
\item{input}{: name of shiny input created. Default to paste0(graph$id, "_viewPosition")}
}
\description{
Function to get current view position, with shiny only. Returns the current central focus point of the view.
}
\examples{
\dontrun{
# have a look to :
shiny::runApp(system.file("shiny", package = "visNetwork"))
}
}
\references{
See online documentation \url{https://datastorm-open.github.io/visNetwork/}
}
\seealso{
\link{visNodes} for nodes options, \link{visEdges} for edges options, \link{visGroups} for groups options,
\link{visLegend} for adding legend, \link{visOptions} for custom option, \link{visLayout} & \link{visHierarchicalLayout} for layout,
\link{visPhysics} for control physics, \link{visInteraction} for interaction, \link{visNetworkProxy} & \link{visFocus} & \link{visFit} for animation within shiny,
\link{visDocumentation}, \link{visEvents}, \link{visConfigure} ...
}