Commit 14b7d62f authored by Olof Svensson's avatar Olof Svensson
Browse files

Add subScheme to representation

parent b34b5b22
......@@ -437,6 +437,13 @@ class Scheme(object):
class SubScheme(Scheme, Node):
def __init__(self, nodes, links, description=None, error_handler=None):
Node.__init__(self, processing_pt=None, error_handler=error_handler)
Scheme.__init__(self, nodes=nodes, links=links, title='',
def contains_control_nodes(nodes_list):
for _node in nodes_list:
if _node.endless or contains_control_nodes(_node.upstream_nodes):
Supports Markdown
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