In React Flow v10+ there didn't seem to be a good way to implement Dagre Layout while using custom nodes. Let's fix that.