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

Make diagram read-only #8

Open
buremba opened this issue Oct 21, 2019 · 3 comments
Open

Make diagram read-only #8

buremba opened this issue Oct 21, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@buremba
Copy link

buremba commented Oct 21, 2019

Is there any way to make the diagram items draggable but disable the user to create new links?

@gwenaelp
Copy link
Owner

This is not possible yet. I started this library as a proof of concept and as it ended quite well I published it. I did not a lot of interesting proposals on it this year, but this is definitely one valuable idea. I'll probably work on it when I'll have some spare time. I'm working a lot on other projects right now, and sadly, publishing opensource libraries on github does not pay my bills (yet?).

If you want to try to implement it yourself, knock yourself out! And don't forget a pull request! If you start something, and you're having difficulties, we can arrange a call or a chat discussion. But at the moment I can't offer to provide some time implementing new features.

I'm planning to have some free time for open source development next year so if you're patient I'll probably implement it. But it will probably be next year, in march/april. Sorry!

@gwenaelp gwenaelp added the enhancement New feature or request label Oct 28, 2019
@buremba
Copy link
Author

buremba commented Oct 29, 2019

Thanks for getting back to me @gwenaelp. It looks like there is no solution for Vue yet so started using react-diagrams. Luckily, the library just needs to be initialized with React and React-Dom but the configuration does not depend on it. We use Vue & React together and the rest of the app is powered by Vue now. I would also be willing to try this library out once you release a stable version. Thanks!

@AndersonGuerra
Copy link

@buremba could you give me a hint on how to do this implementation? I don't know much about react and I tried to use vuera to use react-diagrams, but with no success

zaytc145 added a commit to zaytc145/vue-diagrams that referenced this issue Mar 18, 2021
zaytc145 added a commit to zaytc145/vue-diagrams that referenced this issue Mar 18, 2021
Added boolean props to components, depending on the prop value diagram nodes and links become
immovable

gwenaelp#8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants