Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / debug / deg_debug_relations_graphviz.cc
index 827bb4d10adc8d9fbdfd72c7e90783be665906fb..8fc4c0bcec14de9de3d5c9e6e754088b1452a5bf 100644 (file)
@@ -467,6 +467,7 @@ static void deg_debug_graphviz_node_relations(const DebugContext &ctx,
                deg_debug_fprintf(ctx, "[");
                /* Note: without label an id seem necessary to avoid bugs in graphviz/dot */
                deg_debug_fprintf(ctx, "id=\"%s\"", rel->name);
+               deg_debug_fprintf(ctx, "label=\"%s\"", rel->name);
                deg_debug_fprintf(ctx, ",color="); deg_debug_graphviz_relation_color(ctx, rel);
                deg_debug_fprintf(ctx, ",penwidth=\"%f\"", penwidth);
                /* NOTE: edge from node to own cluster is not possible and gives graphviz