(node)
| 147 | }; |
| 148 | |
| 149 | var getImageWidth = function(node) { |
| 150 | var width = (node.data.image.width !== undefined) ? node.data.image.width : nodeImages[node.data.image.src].object.width; |
| 151 | return width; |
| 152 | } |
| 153 | |
| 154 | var getImageHeight = function(node) { |
| 155 | var height = (node.data.image.height !== undefined) ? node.data.image.height : nodeImages[node.data.image.src].object.height; |