-
Notifications
You must be signed in to change notification settings - Fork 2
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
Editor refreshes after docker java/kevoree nodes creation/deletion #67
Comments
a. Instances coordinates are saved in the model. When you change something in the editor (ie. the location of an instance), it just changes the local editor model. You need to push that model on your running system. b. When you say "refresh", do you mean redrawn? Are you using the "Connect" button? c. Did you specify on the master node that you wanted your disconnected nodes to be removed from the model using the |
a. Actually I am not changing something in the local editor, the registration of new nodes happens programmatically on my running system and the editor is the one notified and redraws the model. b. Yes the redraw happens while i am connected to the master node. I don't reload the model manually, this happens automatically every time a new node is created programmatically. c. hmm no, i though that this is done automatically by the system, when the node is unregistered... can you point me to an example on how to use onDisconnect? |
Example of
Each time My example will result in this KevScript:
And this KevScript will be directly executed by the WSGroup
|
Hi,
I have developed a project that creates and deletes docker java/kevoree containers.
The nodes are registered and unregistered from the "master" node normally but i have some issues with the editor.
a. The editor is refreshed upon every registration of a new node but every time the editor is refreshed then everything (nodes, channels etc ) are gathered together again in the same position, so I have to move them again in order to have a better view.
b. There seems to be a delay depicting all the nodes, ex. Initially I start the master node. If I have three more nodes to add (processor_1, processor_2, processor_3), when processor_1 is added, the first refresh depicts only the master node, when processor_2 is added, the editor refreshes and depicts the master node, and processor_1 but not processor_2 and the same thing continues.
c. The editor is not refreshed when a docker container is deleted and its kevoree node is unregistered, so the editor keeps presenting that node like it is still active.
Any ideas why this is happening?
The text was updated successfully, but these errors were encountered: