code: def get_layout_aspect(hub, node_classes):
      
      aspect = [{'node': hub, 'x': 0.0, 'y': 0.0}]
      for node, node_class in node_classes.items():
          if node == hub:
              continue
          x, y = get_coordinates(node_class)
          aspect.append({'node': node, 'x': x, 'y': y})
      return aspect
docs: Get the full layout aspect with coordinates for each node.