|
|
|
@ -70,8 +70,11 @@ plot = list_plot([], xmax=100, xmin=0, ymax=100, ymin=0)
|
|
|
|
|
|
|
|
|
|
#plot = plot + sum([text(str(i), points[i]) for i in range(len(points))])
|
|
|
|
|
|
|
|
|
|
max_x = max([p[0] for p in all_points])
|
|
|
|
|
text_offset = vector([0,-1]) * max_x * 0.02
|
|
|
|
|
|
|
|
|
|
for i in range(node_count):
|
|
|
|
|
plot = plot + text(str(i), all_points[i] + vector([0,-2]), color='gray')
|
|
|
|
|
plot = plot + text(str(i), all_points[i] + text_offset, color='gray')
|
|
|
|
|
|
|
|
|
|
for i in range(cluster_count):
|
|
|
|
|
plot = plot + list_plot(points[i], color='gray', figsize=FIGURE_SIZE,
|
|
|
|
|