Skip to contents

Plots a history graph as html

Usage

# S3 method for class 'trackr_graph'
plot(x, ...)

Arguments

x

a dtrackr history graph (e.g. output from history())

...

Named arguments passed on to p_get_as_dot

.data

the tracked dataframe

fill

the default node fill colour, any R colour or hex value

fontsize

the default font size in points

colour

the default font colour, any R colour or hex value

rankdir

the dot rank direction (one of TB,LR,BT,RL)

rounded

should the node corners be rounded?

fontname

the font to use. Must exist on the system.

bgcolour

the background, may be "transparent", any R colour or hex value

...

not used

Value

HTML displayed

Examples

library(dplyr)
library(dtrackr)
iris %>% comment("hello {.total} rows") %>% history() %>% plot()