Session Ready
Exercise

Visualize the network (part 2)

In the previous exercise, we used a force-directed layout (the Kamada-Kawai layout) to visualize the nodes and ties, in other words, it placed tied nodes at equal distances, so that all ties had roughly the same length.

In this exercise, we will use two alternative layouts:

  • "in_circle", which places nodes on a circle, and
  • "on_grid", which places nodes on a grid.

For your convenience, the variable g containing the network is at your disposal.

Instructions 1/2
undefined XP
  • 1
  • 2
  • Visualize the network with a circular layout.
  • Set tie transparency proportional to weight.