The graph display represents a graph with the nodes, from, to, and isDirected plot states. This function creates a loongraph or a graph object using these states.

l_getGraph(widget, asloongraph = TRUE)

Arguments

widget

a graph widget handle

asloongraph

boolean, if TRUE then the function returns a loongraph object, otherwise the function returns a graph object defined in the graph R package.

Value

a loongraph or a graph object

See also