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

View source: R/l_getGraph.R

l_getGraphR Documentation

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)

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

l_graph, loongraph


loon documentation built on July 9, 2023, 5:48 p.m.