add_constant_node: Add a constant node

Description Usage Arguments Value

View source: R/add_constant_node.R

Description

Add a constant value to the graph, which can either be a number, TRUE/FALSE, or a string.

Usage

1
add_constant_node(graph, value)

Arguments

graph

a graph object of class dgr_graph that is created using create_graph.

value

the value to use as a constant; can be either numeric, character, or logical.

Value

a graph object of class dgr_graph.


rich-iannone/graphical documentation built on May 27, 2019, 7:58 a.m.