-
Notifications
You must be signed in to change notification settings - Fork 149
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
Link restriction functionality #33
base: master
Are you sure you want to change the base?
Conversation
…for links" This reverts commit 200b354.
Older commit cancelled due to internal merge before pull request
… have the same connector id for an input and an output
…t match Change link restriction to use Type information replacing operators ids
Hi, Sorry again for my late answer. Your PR is interesting and includes a functionality that some people definitely need (me included). However, I thought about it for a long time, and I have come to the conclusion that the feature must be included in a different way, for the following reasons:
Therefore, I suggest we include your code in a different way. I added today events on the flowchart plugin that can be catched in order to add functionalities. We can integrate your functionality in a sub plugin that could be included when people need it. It would be the first of its kind (hoping that many will follow 😄), you would retain ownership and could easily add more features. I would of course list the sub plugin in the README file and the demo website. I have a small proof of concept you can begin to work with. Of course, you would need to add some entries in the plugin to include all the features you have worked on. Here is the subplugin, in the form of a simple jquery plugin:
It could be called like that:
A full example can be found in example 3 of the What is your opinion about it ? Don't hesitate to ask any question or suggestion... |
Hi, Thanks for your analyse. I don't really care about the feature ownership, but that's very friendly to think about that. I developed it for my professional work, and normally I shouldn't request for pulling.... You idea seems to be better and cleaner than mine, I'm not very skilled in JavaScript... Regards |
…d (on some loads) Set flowchart operators width more flexible
Hi,
Here is the pull request for the link restrictions.
The parameter is optional and allow to add an array of restrictions.
Only the mapped links are allowed.
Restrictions are working on operator types.