-
Notifications
You must be signed in to change notification settings - Fork 18
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
Improve ID handling #82
Conversation
This allows for multiple digram instances with minimaps on the same page
@@ -28,9 +29,12 @@ import { | |||
|
|||
import { getVisual } from 'diagram-js/lib/util/GraphicsUtil'; | |||
|
|||
import IdGenerator from 'diagram-js/lib/util/IdGenerator'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We must declare this as an external dependency in rollup config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a regex to ensure this will not happen again: 4d19666
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
diagram-js-minimap
instances on the same pagerelated to bpmn-io/bpmn-js#2179