This is a generic function to add a graph to a graphswitch widget.

l_graphswitch_add(widget, graph, ...)

Arguments

widget

widget path as a string or as an object handle

graph

a graph or a loongraph object

...

arguments passed on to method

Value

id for graph in the graphswitch widget

Details

For more information run: l_help("learn_R_display_graph.html#graph-switch-widget")

See also