Using color, icons, and adding captions makes it much easier to highlight patterns, select data for further analysis and transformation, and create compelling visualizations. Categories, relationships, property values, and tags are assigned colors automatically. At any time, you can:
Change the color assigned to a category, and the color assigned to a relationship, tag, or property value.
Change the icon applied to a category using a searchable icon library available in categories listed in the Legend. In the Settings panel, the Icon Mode menu enables you to select one of three global coloring modes.
Label nodes and edges with captions derived from a category’s property values.
Scale the size of the nodes of a category or edges of a relationship by a property value.
Selecting a color
You can set a color for a category, relationship, tag, or property value using the list in the Legend. Clicking the colored dot next to any list item displays the Styling Setting dialog, a combined color and icon picker with separate Color and Icon tabs.
You can also select a new color and icon for a category or a relationship color in the Project panel’s Category or Relationship tab. Select a category (or relationship) and click its colored circle (or rectangle) to display the color and icon pickers.
To select a color:
Go to the Legend and click the Category, Relationship, Tag, or Property tab.
Locate the item in the list, or for a Property, select a property name from the dropdown menu and then locate the list item for one of its values.
Click the colored dot or line at the right of the item to display a color picker.
In the Styling Setting dialog, click one of the pre-set colored dots, use the color palette to select the color of your choice, or enter the hex value for the color.
The new color is applied immediately.
Click the X at the upper right to close the dialog.
Selecting a color scaled by a property value
You can assign a color scale or gradient for a category’s numerical or date property value using the list in the Legend.
To set a color scale for a property:
Go to the Legend and click the Property tab.
Select a property name from the dropdown menu. The menu includes the properties of all visible categories, in alphabetic order.
Click the Use Scale Color checkbox, and choose a color scale from the additional dropdown menu.
In the example above, the BuPu scale colors visible Character nodes according to their kills property value, on a gradient with a lowest value assigned a pale blue, and the highest a dark purple.
All nodes of the category are colored, whether selected or not. Hidden nodes are colored as soon as they are restored to the graph space.
Selecting an icon
A category can include an icon as well as a color. You select an icon using the Legend and Styling Setting dialog, in the same way you select a color. You can search for an icon by name, or use the dropdown menu to select general types of icons.
Icons are colored with your current color choice and coloring mode.
To change the coloring mode for icons, go to the Project -> Settings and Icon Mode menu at the bottom of the panel.
To select an icon for a Category:
Go to the Legend and click the Category tab.
Locate the Category in the list (e.g. Episode) and click the colored dot at the right. This displays the Styling Setting dialog, a combined color and icon picker.
Click the Icon tab to display the icon picker. To locate icons, you can
- Search by name (e.g. “home”).
- Use the dropdown menu to display groups of similar icons.
Click to select an icon for the Category.
The new icon is applied to all the nodes of the Category, colored with your current color choice and mode, and the dialog closes.
Applying captions to nodes or edges
In the Projects panel and Category or Relationship tab you can select one or more properties of a category or relationship whose values will be used as captions. The caption for each property you select is displayed on a separate line. Captions appear when the node or edge is close enough to your virtual viewpoint, and disappear when you navigate further away.
Often a property will have just one value, but multi-line property values are also supported, and are displayed in captions. A property with more than one value will display each value on a separate line.
The Projects panel and Settings tab provides options to set the global display of captions:
Alternate Caption Rendering checkbox displays captions using an alternate rendering that may be more legible than the default rendering at very small text sizes. However, the number of captions which can be rendered at a time is limited.
Show Relationship Name checkbox displays the relationship name on every edge.
Edge Width Scale slider lets you adjust the global width of edges.
Caption Size Scale slider lets you adjust the global text size of captions.
Node Caption Position dropdown menu lets you adjust the position of captions on nodes. Position options are Right, Top (left-aligned or centered), Bottom (left-aligned or centered), and Vertical.
To apply captions:
Go to the Project panel and Category or Relationship tab.
Click a Category or Relationship (e.g. Episode) to display its properties.
Click the Caption checkbox for the property to be used as a caption (e.g. title). The checkbox is available for any property.
If you select more than one property, the caption displays in the order you select the properties in the Property Name list. For example, a caption that includes the Episode’s property values for season, episode, and title appears as follows:
Scaling node size or edge width by a property value
You can select a property of a category or relationship whose value will be used to scale the size of its nodes or edges, respectively.
For example, using data for HBO’s Game of Thrones television series, the season (e.g. season 1, 2, 3, etc.) property is selected to scale the size of the Episode category of nodes. This results in progressively larger sizes for Episode nodes associated with each new broadcast season.
The Node Size Scale and Edge Width Scale sliders in the Settings tab determines the basic size of all nodes and edges, respectively. From there, nodes can receive increasing sizes, and edges increasing widths, scaled to the values of a selected property.
To scale nodes or edges by a property value:
Go to the Project panel and Category or Relationship tab.
Select a category or relationship (for example, the Episode category).
For a category, click the Node Size checkbox for the property to be used to scale node size (e.g. numLines).
For a relationship, click the Bind Width checkbox for the relationship property. For example, for the spoke relationship, select the numLines property. This will scale the width of spoke edges according to the number of lines spoken by a character.
Although Node Size or Bind Width checkboxes are available for any property, a property with numerical values (rather than text) produces more obvious visual results.