@@ -385,10 +385,6 @@ function tracePathInit(runtime, signalGraphMain) {
385385 {
386386 List.map(F2(processForm)(offset))(elem.element.model.forms);
387387 }
388− if (elem.props.debugTracePathId)
389− {
390− positions[elem.props.debugTracePathId] = new Point(offset.x, offset.y);
391− }
392388 }
393389
394390 function processForm(offset, form) {
@@ -396,6 +392,14 @@ function tracePathInit(runtime, signalGraphMain) {
396392 {
397393 processElement(form.form._0, offset.translate(form.x, -form.y));
398394 }
395+ if (form.form.ctor == "FGroup")
396+ {
397+ List.map(F2(processForm)(offset))(form.form._1);
398+ }
399+ if (form.debugTracePathId)
400+ {
401+ positions[form.debugTracePathId] = new Point(form.x + offset.x, -form.y + offset.y);
402+ }
399403 }
400404
401405 processElement(currentScene, new Point(0, 0));