annotate: Annotate a flow graph

Description Usage Arguments Details Value See Also

View source: R/annotate.R

Description

Annotate a flow graph, as created by record.

Usage

1
annotate(g, annotations = NULL, nodes = TRUE, ports = TRUE)

Arguments

g

flow graph to annotate

annotations

annotation database or JSON source for annotations (by default, the Data Science Ontology via remote database)

nodes

whether to annotate nodes

ports

whether to annotate ports

Details

Normally, this function need not be called directly. Instead, call record with the switch annotate=TRUE.

This function modifies the flow graph in place.

Value

A flow graph with annotated nodes and/or ports.

See Also

record


IBM/rflowgraph documentation built on Sept. 12, 2019, 7:45 p.m.