Skip to content

loadSourceModel, createGModel and ....update model... #637

Answered by planger
rsoika asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rsoika,
in the default case, we recommend to apply edit operations directly on the source model (not the graphical model) and regenerate the GModel after the change (see also the doc):

  1. The client sends an operation request to the server
  2. The server invokes the registered edit operation handler, which modifies the underlying source model directly
  3. The server applies the graphical model factory to the modified source model to create a new graphical model
  4. The server sends the created graphical model to the client
  5. The client re-renders the diagram according to the new version of the graphical model

The reasons for that are:

  • Implementing a bi-directional synchronization between a GModel…

Replies: 9 comments 24 replies

Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Answer selected by rsoika
Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Comment options

You must be logged in to vote
4 replies
@planger
Comment options

@rsoika
Comment options

@planger
Comment options

@rsoika
Comment options

Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Comment options

You must be logged in to vote
2 replies
@rsoika
Comment options

@rsoika
Comment options

Comment options

You must be logged in to vote
6 replies
@rsoika
Comment options

@planger
Comment options

@rsoika
Comment options

@planger
Comment options

@rsoika
Comment options

Comment options

You must be logged in to vote
2 replies
@planger
Comment options

@rsoika
Comment options

Comment options

You must be logged in to vote
1 reply
@rsoika
Comment options

Comment options

You must be logged in to vote
6 replies
@rsoika
Comment options

@rsoika
Comment options

@rsoika
Comment options

@planger
Comment options

@rsoika
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants