mstahv / diagram-builder

Vaadin Add-on built over ALLOYUI DiagramBuilder
Apache License 2.0
7 stars 11 forks source link

Help - node properties #3

Open bpietraszuk opened 10 years ago

bpietraszuk commented 10 years ago

On Vaadin site you have written it is possible to change properties of a node: "Should be possible, but bit tricky (if you just look at the JS how it is done there)."

However, I am not able to find this js file. There is no such kind of information in http://cdn.alloyui.com/2.5.0/aui/aui-min.js.

Could you please show me where I should change js to get more properties of a node?

Thank you in advance.

mstahv commented 10 years ago

This is something I found with google earlier: http://jsfiddle.net/wP6PJ/4/

On 21 May 2014, at 17:22 , Bartłomiej Pietraszuk notifications@github.com wrote:

On Vaadin site you have written it is possible to change properties of a node: "Should be possible, but bit tricky (if you just look at the JS how it is done there)."

However, I am not able to find this js file. There is no such kind of information in http://cdn.alloyui.com/2.5.0/aui/aui-min.js.

Could you please show me where I should change js to get more properties of a node?

Thank you in advance.

— Reply to this email directly or view it on GitHub.

bpietraszuk commented 10 years ago

Yes, I've seen it. To be more clear, I would like to know where this .js is in your add-on demo project. I know how to change the js code. However, I have no idea where I should make a change :D

mstahv commented 10 years ago

You'll need to insert the script and then also your own extensions somehow. Somehow depends a bit about your setup. You could try Javascript annotation in Vaadin.