trying joint js instead of dagre