code: def group_theta(self, group):
          
          for i, g in enumerate(self.nodes.keys()):
              if g == group:
                  break
  
          return i * self.major_angle
docs: Computes the theta along which a group's nodes are aligned.