# File lib/apotomo/widget/tree_node.rb, line 21 def to_s # DISCUSS: why self.widget_id but parent.name ? "Node ID: #{widget_id} Parent: " + (root? ? "ROOT" : "#{parent.name}") + " Children: #{children.length}" + " Total Nodes: #{size}" end