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

Clickable nodes when editor locked #368

Closed
jf19742016 opened this issue Mar 5, 2022 · 6 comments
Closed

Clickable nodes when editor locked #368

jf19742016 opened this issue Mar 5, 2022 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@jf19742016
Copy link

Hello,

Is it possible to lock the editor for "editing" but still have the nodes clickable? I'm trying to create a mechanism where someone can build a flow and then associate information with the nodes. I then want to lock the flow but the nodes be clickable so the viewer can see the additional information.

Thanks

@jerosoler jerosoler self-assigned this Mar 5, 2022
@jerosoler jerosoler added the question Further information is requested label Mar 5, 2022
@jerosoler
Copy link
Owner

View editor mode.

editor.editor_mode = 'edit';

Support three values: edit, fixed, view

@jf19742016
Copy link
Author

Thank you for responding so quickly and on the weekend. I did miss that - doh. However putting it into view mode, nodes are still not clickable?

@jerosoler
Copy link
Owner

Try fixed method.

Explain methods:
edit for edit, fixed for nodes fixed but their input fields available, view for view only

@jf19742016
Copy link
Author

I used your example and it's in fixed mode. The nodes are not clickable?

@jerosoler
Copy link
Owner

@jf19742016
Copy link
Author

Perfect thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants