create_graphNEL_object: Create a graphNEL object

View source: R/graphNEL.R

create_graphNEL_objectR Documentation

Create a graphNEL object

Description

Create a graphNEL object from the functional structure.

Usage

create_graphNEL_object(my_structure)

Arguments

my_structure

A list, the functional structure calculated in create_list_of_functional_structure().

Value

A graphNEL object

Examples

my_structure <- create_list_of_functional_structure(filename, path)
my_graph <- create_graphNEL_object(my_structure)
attrs <- list(node=list(fontsize = 8, shape="ellipse", fixedsize=FALSE,
                        label="foo"),
              edge=list(minlen = 2),
              graph=list(rankdir="LR"))
Rgraphviz::plot(my_graph, attrs=attrs)
Rgraphviz::plot(my_graph, "neato", attrs=attrs)
Rgraphviz::plot(my_graph, "twopi", attrs=attrs)

ims-fhs/badhacker documentation built on March 21, 2022, 7:50 a.m.