     rel_pos = []
 
     calcBounds = (node) ->
-      width = node.radius * 2
-      height = node.radius * 2
+      if node.getSize?
+        {width: own_width, height: own_height} = node.getSize()
+      else
+        own_width = node.radius * 2
+        own_height = node.radius * 2
+      width = own_width
+      height = own_height
 
       children = []
 

      @len_x = @default_bbox.len.x
      @len_y = @default_bbox.len.y

  addNode: (node) ->
    @contains.push(node)
    node.parent = this

        c.reconstruct_as = WeightedNodeCollectionFromSF
      else
        console.log('won\'t finish S-F, incomplete')
  },
  delete_menu_item,
]

code_list_dropdown_menu = [
