build_nodes {mitre}R Documentation

Transform all standards as nodes in a data frame.

Description

id : The id of the node unique value for all standard elements. label : The label is the piece of text shown in or under the node, depending on the shape. group : When not undefined, the group of node(s) type : Used as subgroup to classify different object from value : When a value is set, the nodes will be scaled using the options in the scaling object defined above. title : Title to be displayed when the user hovers over the node. The title can be an HTML element or a string containing plain text or HTML. standard : The id of the standard shape : The shape defines what the node looks like. The types with the label inside of it are: ellipse, circle, database, box, text. The ones with the label outside of it are: image, circularImage, diamond, dot, star, triangle, triangleDown, square and icon. color : Color for the node. hidden : When true, the node will not be shown. It will still be part of the physics simulation though! mass : Default to 1. The barnesHut physics model (which is enabled by default) is based on an inverted gravity model. By increasing the mass of a node, you increase it's repulsion. Values lower than 1 are not recommended. description : Description could include extra information or nested data which include other columns from original data frame observation.

Usage

build_nodes(verbose = FALSE)

Arguments

verbose

logical, FALSE by default. Change it to see the process messages.

Value

data.frame


[Package mitre version 1.0.0 Index]