} else {
                    elmts.push(
                        {
                            id: id++,
                            type: targetNode.type,