Inserts features from a data table into the network. The object to attach the feature to is detected by the available ids per feature.
- No id -> feature is attached to the graph
- Node id -> feature is attached to node
- Edge id -> feature is attached to edge
- Edge and node id -> feature is attached to the end specified by the node and edge id
Special features are:
- label (string): Node/edge feature that specifies the label. The label is used for the name of an object.
- is_target (boolean): End feature that specifies the target node of an directed edge.
- relevance (float): Node/edge feature that specifies the relevance of the object [0-1]. Used in the filter nodes to filter objects by setting the relevance feature to 0 and filtering all objects for this feature.
- weight (float): Edge/end feature that specifies the weight of an edge or node edge pair.
The input table is optional. A single graph feature can be added without an input table by providing the feature name, type and value in the node dialog.
An example table that inserts values for nodes, edges and end objects and that has a column per id, attribute name, type and value would look as follows:NodeIdEdgeIdFeature nameFeature typeFeature valuenode1?labelstringnode1Label1node1?nodeFeature1float0.1234567node1?nodeFeature2integer123456?edge1labelstringedge1Labelnode1edge1weightfloat0.5node1edge1endFeature1booleantruenode1edge1endFeature2uriwww.Network.eu In order to use this table select appropriate columns for the node and edge id, the feature name, type and value.
An example table that contains only one value per object would look as follows:
NodeIdValuenode10.1node20.2node30.3 In order to add these values to the nodes select the node id and value column and enter the name of the feature in the attribute