work in progress, still learning jointjs