Hi, what I am looking to do is when I select a given node, highlight only the edges from that selected node (as as well as the nodes connected with those edges). I don't want to highlight any secondary edges, nor do I want to highlight any edges connecting back to the selected node.
For instance, when I select node 7, I only want to highlight the edge moving from 7 to 2 and the edge moving from 7 to 3. I don't want highlighted the edge moving from 2 to 3, nor do I want highlighted the edge moving from 3 to 7. I still want nodes 2 and 3 highlighted though. In addition, I am looking for all the node labels that aren't connected through those "from" edges to not be visible (1, 6, 4, 5).
My actual data is slightly more complex, and I am interested when selecting a node to visualize only the possible moves from the selected node. These additional highlights make the network too busy to look at.
I have also tried with algorithm = "all" and get close, but nodes 2 and 3 aren't highlighted now, and there are also extra node labels showing that I don't want:
Hi, what I am looking to do is when I select a given node, highlight only the edges from that selected node (as as well as the nodes connected with those edges). I don't want to highlight any secondary edges, nor do I want to highlight any edges connecting back to the selected node.
Creating a simple example:
For instance, when I select node 7, I only want to highlight the edge moving from 7 to 2 and the edge moving from 7 to 3. I don't want highlighted the edge moving from 2 to 3, nor do I want highlighted the edge moving from 3 to 7. I still want nodes 2 and 3 highlighted though. In addition, I am looking for all the node labels that aren't connected through those "from" edges to not be visible (1, 6, 4, 5).
My actual data is slightly more complex, and I am interested when selecting a node to visualize only the possible moves from the selected node. These additional highlights make the network too busy to look at.
I have also tried with
algorithm = "all"
and get close, but nodes 2 and 3 aren't highlighted now, and there are also extra node labels showing that I don't want:Is there a way to do this in this package?
Thanks a lot.