vpPath: Concatenate Viewport Names

Description Usage Arguments Details Value See Also Examples


This function can be used to generate a viewport path for use in downViewport or seekViewport.

A viewport path is a list of nested viewport names.





Character values which are viewport names.


Viewport names must only be unique amongst viewports which share the same parent in the viewport tree.

This function can be used to generate a specification for a viewport that includes the viewport's parent's name (and the name of its parent and so on).

For interactive use, it is possible to directly specify a path, but it is strongly recommended that this function is used otherwise in case the path separator is changed in future versions of grid.


A vpPath object.

See Also

viewport, pushViewport, popViewport, downViewport, seekViewport, upViewport


vpPath("vp1", "vp2")

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.