Commit 3ac9f575 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Improve colors when states are nested in statecharts

parent 6db01ee9
......@@ -424,6 +424,8 @@ def render_statechart(scene, graphtree=None, keep_pos=False, dump_gfx=''):
shape = node.get('shape')
try:
node_symbol = lookup[shape](node, graph)
if graphtree['children']:
node_symbol.setBrush(QtGui.QBrush(QtGui.QColor(249, 249, 249)))
G_SYMBOLS.add(node_symbol)
node_symbols.append(node_symbol)
scene.addItem(node_symbol)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment