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

add drag handle #485

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

corexalys-admin
Copy link

No description provided.

src/components/graph/Graph.jsx Outdated Show resolved Hide resolved
@@ -300,6 +305,9 @@ export default class Graph extends React.Component {

if (!this.state.config.freezeAllDragEvents) {
zoomObject.on("zoom", this._zoomed);
if (this.onDragChange) {
zoomObject.on("end", this._zoomedEnd);
Copy link
Owner

Choose a reason for hiding this comment

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

What would be the use case for this?

Copy link
Author

Choose a reason for hiding this comment

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

the use case is when we move the graph we need to handle the final position for save it in bdd and after reload we send an init position to the graph (i've not finish to code this part)

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.

None yet

2 participants