refactor(model): upgrade dagre and dagre-d3