 
 		# <3 coffescript
 		parsedBits.push(@parseLine line) for line in allTheLines;
-
 		return @parseTree parsedBits
 
 	parseTree: (parsedBits) ->

					tree.children[tree.children.indexOf(b)] = null

			# if the colours or arrow have updated, save them
			if a
				a.colour = bit.first.colour if bit.first.colour
			if b
				b.colour = bit.second.colour if bit.second.colour
				b.arrow = bit.arrow if bit.arrow


		return {rectangle:newRect, svg:actualRect}

	drawText: (x, y, content) ->
		maxWidth = @rectangleWidth
		t = @paper.text(x, y).attr(
			{"font-size": "13px", 
			"font-family":"'Shadows Into Light Two', sans-serif",
			"text-anchor": "center"
			})

		# thanks stack overflow
		words = content.split(" ")
		tempText = ""
		for word in words
			t.attr("text", tempText + " " + word)
			if (t.getBBox().width > maxWidth) 
				tempText += "\n" + word
			else 
				tempText += " " + word

		t.attr("text", tempText.substring(1))
		  
		

	drawAndConnectToBlock:(previousBlock, block, childIndex, direction, arrow) ->
		previousRectangle = previousBlock.rectangle # block also contains the svg, just in case
