Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy and Paste of Nodes in DMN puts copied node directly on top of original #2899

Open
timwuthenow opened this issue Feb 10, 2025 · 0 comments
Labels
area:dmn javascript Pull requests that update Javascript code lang:typescript Pull requests that update Javascript code

Comments

@timwuthenow
Copy link

I'm currently using the 10.0.0 image of KIE Sandbox, when designing a decision where I want to create 3 nodes similar in nature and description. This can create issues in the DMN model that would be very hard to diagnose on first pass. I would typically copy and paste the node as it exists so I can save some structure from each one and then when pasted it will create a separate node with a different name. The behavior when using the Old DMN editor version (also using the Mac hot keys of Command+C/Command+V) and creates a new node directly below with some y-shift down with an increment on number for the copy. My suggestion is at least one of two things should occur:

  1. An offset of some number of pixels in x or y direction to show it's different.
  2. Appending a number or "Copy of" to the name to create a distinction difference.

I've attached a gif showing the old editor first showing it going down the y-axis. Then swapping to new editor to show that when you copy and paste, you get the font changing to red, but that's really the "only" visual indicator at first pass that something has occurred.

Image

@jomarko jomarko added lang:typescript Pull requests that update Javascript code javascript Pull requests that update Javascript code labels Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:dmn javascript Pull requests that update Javascript code lang:typescript Pull requests that update Javascript code
Projects
None yet
Development

No branches or pull requests

3 participants