Skip to content

Conversation

lchans
Copy link
Collaborator

@lchans lchans commented Apr 29, 2025

External Links

Description

  • Exposes handlers and other useful props and hooks to the component
  • See comments for more explanation

onlyRenderVisibleElements={true}
edges={edges}
connectionLineComponent={ConnectionLine}
connectionMode={ConnectionMode.Loose}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These props are copied over from the Relational Migrator diagramming component. We can hard code it now as I see no reason to pass these in as a prop (yet)

@lchans lchans marked this pull request as ready for review April 29, 2025 05:27
Copy link
Collaborator

@marian-derias marian-derias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a preference thing but I think the nodes in the 'Basic Diagram' shouldn't be connectable so consumers get a sense of how the nodes are movable. Right now you can start to create edges between them but of course they're not created:

Screen.Recording.2025-04-30.at.10.13.04.am.mov

@lchans lchans requested a review from marian-derias April 30, 2025 22:01
@lchans lchans merged commit c6e1834 into main Apr 30, 2025
1 check passed
@lchans lchans deleted the feature/MIG-6673-handlers branch April 30, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants