Hi Phil,
What you want to do is create an attribute (e.g., called "node_type") and
then annotate your nodes with "source" or "target". You can then assign
these attribute values to any visual property that pleases you (e.g., node
shape or color).
There are a few approaches you could take to perform the annotation,
depending on exactly what you are working with:
1. Create an attribute table in excel and then import it.
2. Create the attribute directly in the DataPanel and then use filters to
select sources and targets separately. Here are the steps for this approach:
A. Go to the Filters tab in the Panel 1
B. Create a new Topology Filter: use the defaults and click Apply. You
should see all nodes selected.
C. Create new Edge Interaction Filter: use your Topology Filter and
click Apply. Again, you should now see all edges selected.
D. Create new Node Interaction Filter: use Edge Filter and select either
"source" or "target" and click apply. This will give you a way to select
nodes based on whether they are a source or a target.
E. When selected, you can use the Attribute Batch Editor to set all
"node_type" attributes to "source" or "target".
Convoluted but gets the job done. Note: Depending on your network, you may
have nodes that are *both* sources and targets via different interactions.
In this case you may want to use two separate attributes that you can assign
to different visual properties, or specify "source", "target", or "both",
and use three different shapes or colors.
- Alex