Added animation of svg lines. Added create svg node function.