Prints the layer tree (i.e. the layer ids) to the prompt. Group layers are prefixed with a '+'. The 'root' layer is not listed.

l_layer_printTree(widget)

Arguments

widget

widget path as a string or as an object handle

Value

empty string

See also

Examples

p <- l_plot() l_layer_rectangle(p, x=0:1, y=0:1)
#> loon layer "rectangle" of type rectangle of plot .l75.plot #> [1] "layer0"
g <- l_layer_group(p) l_layer_oval(p, x=0:1, y=0:1, parent=g)
#> loon layer "oval" of type oval of plot .l75.plot #> [1] "layer2"
l_layer_line(p, x=0:1, y=0:1, parent=g)
#> loon layer "line" of type line of plot .l75.plot #> [1] "layer3"
l_layer_printTree(p)