The attribute manager is started by clicking on its icon in visone's toolbar or pressing the attribute manager button in the selection tab.
As opposed to the attributes tab of the node properties dialog and link properties dialog, that only allow to change the value of already existing attributes manually, the attribute manager provides a variety of possibilities related to the creation, configuration and automatical modification of attributes.
There are 4 times 4 (2) selectable categories within the attribute manager, e.g. node attribute configuration:
The four radio buttons in the top line are used to select the kind of attribute one wants to manage, namely
- node attributes
- link attributes
- dyad attributes
- graph attributes
The four radio buttons on the left-hand side are used to specify what kind of management one is looking for, namely
- configuration management (manually)
- value management (manually)
- operation involving value management (automatically)
- import & export management (automatically)
Note, that attribute values are typically not added manually (which would be tiresome). It is more usual that attributes are imported from files or computed by a network analysis algorithm. Creation of new attributes and type selection is illustrated in the trail about the visual network editor.
- check mark: the check mark in the left column defines the attribute that is displayed as label (for nodes/links)
- name field: enables the (re-)definition of attribute names; to create a new attribute you have to use this field to define a name first
- type selection: defines the type (text, binary, integer, decimal, text list, integer list, decimal list) of the attribute
- default: can be used to define a default value for this attribute that is assigned to all nodes automatically (since only declaring the name and type of an attribute function does not define its values)
Don't forget to press the apply button at the bottom of the attribute manager.
The values category can be used to explore the values that the nodes/links (or the selected nodes/links, if there are selected nodes/links) assume on all attribute functions that are declared. You can also modify the values if the allow editing box at the bottom right of the attribute manager is checked. Additionally, you can specify whether to show default values (bottom left) and whether to display only a subset of attributes (use check marks at the top).
Values that are not assigned yet, are marked N/A.
The operations category provides means to change a node/link attribute function as a whole. Modification of attributes is illustrated in the trail on advanced attribute management.
You might just want to copy or delete (select according operation) an existing attribute function (select according attribute) - and provide a new name of the result attribute (if you don't want to delete or, in general, overwrite the current one).
You can also rank the nodes/links in ascending or descending order with regard to an attribute, creating an integer type result attribute.
Merge to list enables you to select a number of source attributes (pressing Crtl key to add single ones or holding shift key to select a number of successive ones) to be merged into a text result attribute, being a comma separated list of these values.
There are also a number of possibilities to convert list values, namely calculating the maximum, minimum, average, or sum of entries (integer/decimal list), or concatenate them (text list).
Finally, manipulate values provides means to automatically
- invert (note, that a zero attribute value will result in a N/A entry in the result attribute!)
- add a specified offset
- scale with a specified scalar
- normalize (i.e. each value is divided by the maximum values)
- standardize (i.e. each value is divided by the sum of all values)
- round to specified fraction digits
- round up to specified fraction digits
the values of an attribute function. While the attribute manager, thus, offers only a limited set of functions to transform attributes, general transformations can be specified and executed via visone's R interface; this is illustrated in the trail on using visone's R console.
import and export
When importing attributes from a .csv file you have to specify how the data shall be joined. That is, the .csv file should contain a column that is named according to the join by attribute of the network. It is also possible to import an additional link attribute via a .csv matrix (nodes IDs in the matrix have to be the same as in the network).
When exporting attributes you can specify how the data shall be sorted, using the attribute selected for sort by.
If you are working with more than one network tabs, you can also export one specified attribute of all open networks as a table.