String name = getConfigurationComponentNameForElement(graph, element);\r
if (name == null)\r
return null;\r
- AffineTransform transform = DiagramGraphUtil.getAffineTransform(graph, element);\r
+ AffineTransform transform = DiagramGraphUtil.getDynamicAffineTransform(graph, runtimeDiagram, element);\r
Vec2d offset = DiagramGraphUtil.getOffset(graph, element);\r
boolean enabled = !DiagramGraphUtil.getProfileMonitorsHidden(graph, element);\r
boolean up = DiagramGraphUtil.getProfileMonitorsUp(graph, element);\r
if(node instanceof ConnectionNode) {\r
return getLocalBounds(node);\r
} else if(node instanceof SingleElementNode) {\r
+ // For normal symbols\r
INode image = NodeUtil.findChildByPrefix((SingleElementNode)node, "composite_image");\r
if (image == null)\r
+ // For generic text nodes\r
image = NodeUtil.findChildByPrefix((SingleElementNode) node, "text");\r
+ if (image == null)\r
+ // For I/O table diagram flags (value of org.simantics.diagram.flag.FlagSceneGraph.VISUAL_ROOT)\r
+ image = NodeUtil.findChildByPrefix((SingleElementNode) node, "visual");\r
if (image == null)\r
image = NodeUtil.getNearestChildByClass((SingleElementNode) node, FlagNode.class);\r
if (image != null)\r