gf_createSubgraph: Turn a GraphViz DOT graph into a subgraph

Description Usage Arguments Value

Description

Turn a GraphViz DOT graph into a subgraph

Usage

1
gf_createSubgraph(graph, subGraphName = "")

Arguments

graph

A DiagrammeR graph object created using the create_graph() method. We need only the $dot_code portion

subGraphName

Optional string for the name of the subgraph; No spaces

Value

DOT of the graph but packaged as a subgraph


garyfeng/pdata documentation built on May 16, 2019, 5:42 p.m.