Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Spreadsheet Format

You build network visualizations using network graphs. Here's a visual representation of a network graph:  

...

 Column 1Column 2Column 3Column 4Column 5
Data Typeplain textplain textplain textplain textplain text
Contents

"node"

Note:

  • This sets the component type.
  • "node" must be included in the first column of every row that defines a node

The id for the node

Note:

  • Make ids unique and specific to each node
  • Ids do not appear on the graph, but are used to create links between nodes

The label for the node

Note:

  • Labels appear on the node in visualization

The name of the node's class type.

Note:

  • To define class types, create a "node-class" row (see the node class table)
  • This determines the node's style

 

Tooltip text for the node

Note:

  • This text will appear when a user hovers over a node.

...

 Column 1Column 2Column 3Column 4
Data Typeplain textplain textplain textplain text
Contents

"link"

Note:

  • This sets the component type.
  • "link" must be included in the first column of every row that places a link

The id for the first node in the relationship

Note:

  • Define node ids when you create nodes
  • Learn more about node ids in Column 2 of the "add nodes" section of this guide

The class type for the link

Note:

    • To define class types, create a "link-class" row (see the link class table)
    • This determines the link's style
    • The class type describes how the nodes are related

The id for the second node in the relationship

Note:

  • Define node ids when you create nodes
  • Learn more about node ids in
  • Column 2 of the "add nodes" section of this guide

 

 

...

 Column 1Column 2Column 3Column 4
Data Typeplain textplain textplain textplain text
Contents

"class"

Note:

  • This sets the component type.
  • "class" must be included in the first column of every row that defines a style

The name of the class type

Note:

  • This lets you quickly reference the node styling when you create a node
  • Learn more at Column 4 of the "add nodes" section

The property name

Note:

    • This defines what node style element the class will affect (for example, color or shape)
    • Find a full list of property names you can use in the Appendix below

The value for the property in Column 3

Note:

    • This defines what style the node will have, depending on the property. For example, if Column 3 was "color", this Column might be "blue"

...

 Column 1Column 2Column 3Column 4
Data Typeplain textplain textplain textplain text
Contents

"class"

Note:

  • This sets the component type.
  • "class" must be included in the first column of every row that defines a style

The name of the class type

Note:

  • This lets you quickly reference the link styling when you create a link
  • Learn more at Column 4 of the "add links" section

The property name

Note:

    • This defines what link style element the class will affect (for example, color or shape)
    • Find a full list of property names you can use in the Appendix below

The value for the property in Column 3

Note:

    • This defines what style the link will have, depending on the property. For example, if Column 3 was "color", this Column might be "blue"

Customization Options

 

Go to Common Customization Options to see more settings.

Height

determines the height of the graph

  • Type in a number
Width

determines the width of the graph

  • Type in a number
Node distance

determines the distance between the nodes

  • Type in a number to set the distance
  • A larger number will spread the nodes farther apart
Node charge

determines whether nodes are repulsed or attracted to each other 

  • Type in a positive number to make the nodes attract; type in a negative number to repulse nodes 
  • Attractive nodes will spread nodes apart; repulsive nodes will overlap nodes with closer data values
Node gravity

controls the distance the nodes appear from the center of the graph

  • Higher numbers make the nodes move toward the center; lower numbers make the nodes move away
Node strength

controls the length of the links

  • Type in a number between 0 and 100
  • Higher numbers make longer links
Node shape

sets the shape of the nodes

  • Choose from a list of shapes in the drop-down menu
Popup show time

controls the number of seconds a pop-up dialogue box shows up

  • Type in a number of seconds
Node size

controls the radius of the nodes

  • Type in a higher number to create larger nodes or a lower number to create smaller nodes
Node color

sets the color a node will have if there are hidden nodes

Appendix

 

Anchor
node-property
node-property
Node property names and allowed values:
property name
definition
allowed values
typeThe shape of the nodecircle, rectangle, square, ellipse, triangle, star
colorThe color of the nodeEither an RGB color expressed in hexadecimal numbers prefixed with a '#' or one of these color names: blue, red, green
dimThe size of the node in pixels. Specifically, the radius of a circle, half the length of the side of a square, half the base and half the height of a triangle or the length of a side of a star.A number
alphaThe transparency of the nodeA number between 0 and 1, where 1 is maximally opaque

 

Anchor
link-property
link-property
Link property names and allowed values:
property name
definition
allowed values
typeThe style of linearrow, line
lineWidthThe width of the link in pixelsA number
colorThe color of the linkEither an RGB color expressed in hexadecimal numbers prefixed with a '#' or one of these color names: blue, red, green
alphaThe transparency of the linkA number between 0 and 1, where 1 is maximally opaque

 

Customization Options

Go to Common Options for Charts and Graphs to see the rest of the options

Height: determines the height of the graph

  • Type in a number

Width: determines the width of the graph

  • Type in a number

Node distance: determines the distance between the nodes

  • Type in a number to set the distance
  • Note that a larger number will spread the nodes farther apart

Node charge

  • Either: Type in positive number to have the nodes be attracted to each other
    • Use this option if you want to clearly see each node because they will be spread apart
  • Or: Type in a negative number to have the nodes be repulsed by each other
    • Use this option if you want nodes with closer data points to overlap

Node gravity: controls the distance the nodes appear from the center of the graph

  • Type in a higher number to have the nodes move closer to the center
  • Type in a lower number to have the nodes move farther from the center

Node strength: controls the length of the links

  • Type in a number between 0 and 100
  • Note that a higher number makes longer links

Node shape: sets the shape of the nodes

  • Choose from a list of shapes in the drop-down menu

Popup show time: controls how many seconds a pop-up dialogue box will be visible

  • Type in a number

Node size: controls the radius or height of the nodes

  • Type in a higher number to create larger nodes or a lower number to create smaller nodes

Node color: sets the color a node will have if there are hidden nodes

  • Click the colored square to show the ColorPicker tool
  • Choose a color