React and Next.js

DraftDiagram shows a diagram and DraftEditor edits one, in React 19. Both wrap the elements, so they take any attribute, a ref and on… event props.