Learn R Programming

loon (version 1.4.1)

l_getGraph: Extract a loongraph or graph object from loon's graph display

Description

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.

Usage

l_getGraph(widget, asloongraph = TRUE)

Value

a loongraph or a graph object

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.

See Also

l_graph, loongraph