Skip to contents

Makes a dot node (as html table) from procedure's attributes.

Usage

paste_dot_node(
  procedure,
  id,
  procedure_title = NULL,
  node_bg_color = "white",
  node_header_color = "#bdc3c7",
  node_font = "Helvetica",
  node_fix_width_font = "Courier",
  add_example = TRUE,
  add_procedure_name = FALSE,
  add_procedure_args = FALSE,
  procedure_attr_prefix = "nstandr_procedure_"
)

Arguments

procedure

Procedure's function either as charater string or as call (with optional arguments)

id

Node ID that is used for refering in edges (arrows) definition

procedure_title

This will overwrites the node's title. By default the title is either from procedure's attribute 'title' (prefixed by procedure_attr_prefix) or just a name of procedure if there is no such attibute.

node_bg_color

node's background color

node_header_color

node's header background color

node_font

main font family

node_fix_width_font

fixed with font family

add_example

wheather to add example from procedure's attribure 'example' (prefixed by procedure_attr_prefix)

add_procedure_name

wheather to add procedure's name

add_procedure_args

wheather to add optional procedure's arguments

procedure_attr_prefix

prefix used to specify procedures' attibutes

Value

dot node as string