Added ability to build lines from svg data