[Bf-blender-cvs] [d7ab6e8] depsgraph_refactor: Changed rankdir for graphviz output to LR, this gives a bit more compact clusters with long name strings.

Lukas Tönne noreply at git.blender.org
Mon Apr 14 13:52:19 CEST 2014


Commit: d7ab6e8dd2a13fa820b9c466a28acf9e611d8385
Author: Lukas Tönne
Date:   Sun Apr 13 16:55:56 2014 +0200
https://developer.blender.org/rBd7ab6e8dd2a13fa820b9c466a28acf9e611d8385

Changed rankdir for graphviz output to LR, this gives a bit more compact
clusters with long name strings.

===================================================================

M	source/blender/depsgraph/intern/depsgraph_debug.cpp

===================================================================

diff --git a/source/blender/depsgraph/intern/depsgraph_debug.cpp b/source/blender/depsgraph/intern/depsgraph_debug.cpp
index 3f6c271..092b40b 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug.cpp
+++ b/source/blender/depsgraph/intern/depsgraph_debug.cpp
@@ -471,6 +471,7 @@ void DEG_debug_graphviz(const Depsgraph *graph, FILE *f)
 	ctx.show_tags = false;
 	
 	deg_debug_printf(ctx, "digraph depgraph {" NL);
+	deg_debug_printf(ctx, "rankdir=LR;" NL);
 	deg_debug_printf(ctx, "graph [compound=true];" NL);
 	
 	deg_debug_graphviz_graph_nodes(ctx, graph);




More information about the Bf-blender-cvs mailing list