From 3a37ab87f85c48ead18f6dacd47d3e2328dd811b Mon Sep 17 00:00:00 2001 From: ougongchang Date: Wed, 13 May 2020 21:58:47 +0800 Subject: [PATCH] set the subnode of indendpent scope to independent --- mindinsight/datavisual/data_transform/graph/graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mindinsight/datavisual/data_transform/graph/graph.py b/mindinsight/datavisual/data_transform/graph/graph.py index 0744cac..33d0b41 100644 --- a/mindinsight/datavisual/data_transform/graph/graph.py +++ b/mindinsight/datavisual/data_transform/graph/graph.py @@ -537,6 +537,7 @@ class Graph: getattr(target_scope_node, 'add_proxy_input')(scope_node.name, proxy_attr) for subnode in subnode_map[scope_node.name]: + subnode.independent_layout = True for target_name, target_attr in dict(getattr(subnode, method)).items(): proxy_attr = dict(edge_type=target_attr['edge_type']) target_node = self._get_normal_node(node_name=target_name) -- GitLab