Decorations : Additional elements added to graphs to increase data understanding

# decorations

Name of the node properties to include in the network decorations in the data.nodes object
Type: object
Default: false

# decorationsBackgroundBorderColor

Color for the border in decoration legends background
Type: color
Default: rgba(255,255,255,0)

# decorationsBackgroundBorderLineType

Type of line for the border in decoration legends background
Type: string
Default: solid
Options: rect, solid, spline, dotted, dashed, dotdash, longdash, twodash

# decorationsBackgroundBorderSize


# decorationsBackgroundColor


# decorationsClipped


# decorationsColors

Array of colors used for selection in network decorations not to be confused by its singular form decorationsColor above
Type: array
Default: []

# decorationsHeight

Length in pixels of the height for the decorations in the networks
Type: integer
Default: 40

# decorationsOnTop


# decorationsPosition

Position for the the decorations
Type: string
Default: bottom
Options: topRight, right, bottomRight, bottom, bottomLeft, left, topLeft, top

# decorationsProperties

Object to assign properties like color for the network decorations
Type: object
Default: {}

# decorationsTextAlign

Align for the decoration legends
Type: string
Default: center
Options: left, center, right

# decorationsTextBaseline

Baseline for the decoration legends
Type: string
Default: middle
Options: top, middle, bottom

# decorationsTextColor


# decorationsTextFontSize

Font size for the text in decoration legends. Be aware that auto scaling font must be turned off for this property to take effect. A more convenient way to modify the size is to use the decorationsTextScaleFontFactor
Type: integer
Default: 11

# decorationsTextFontStyle

Font style for the decoration legends
Type: string
Default:
Options: , bold, italic, bold italic

# decorationsTextMargin


# decorationsTextRotate


# decorationsTextScaleFontFactor

Scaling factor used to increase or decrease the decoration legends font size in the canvas
Type: float
Default: 1

# decorationsTransform


# decorationsTransparency


# decorationsType

Type for the decorations in the networks. The types stacked and stackedpercent must be two dimensional. Heatmap could be one or two dimensional
Type: string
Default: bar
Options: pie, bar, heatmap, stacked, stackedpercent

# decorationsWidth

Length in pixels of the width for the decorations in the networks
Type: integer
Default: 20

# showDecorations


# showDecorationsBorder


# showDecorationsLegend