grviz.digraph: Export to DOT

View source: R/text.R

grviz.digraphR Documentation

Export to DOT

Description

Write a DOT specification of the model.

Usage

grviz.digraph(
  edges,
  name = "web",
  fontsize = 10,
  node.style = "filled",
  node.shape = "oval",
  node.color = "DarkOrange",
  edge.color = "DarkGrey"
)

Arguments

edges

An edge list

name

The name of the digraph

fontsize

Fontsize for node labels.

node.style

The node style.

node.shape

The node shape.

node.color

The node color.

edge.color

The edge color.

Details

Write a DOT specification of the model in a form suitable for use with grViz from DiagrammeR.

Value

Returns a string.


SWotherspoon/QPress documentation built on Sept. 26, 2022, 2:27 a.m.