kieler / klighd-vscode

Eclipse Public License 2.0
8 stars 6 forks source link

Reuse SModel index for diagram pieces #60

Closed NiklasRentzCAU closed 2 years ago

NiklasRentzCAU commented 2 years ago

recalculate LOD when new diagram pieces arrive. Moved diagram piece code together in a single folder

Moves the diagram-piece-related actions into its folder, removes now-invalid assumption that a no-pan or -zoom update does not need to update the depth map and replaces a single line in the diagram piece request to not create the model anew on the client for each update: this.root = context.modelFactory.createRoot(context.root) to this.root = context.root

NiklasRentzCAU commented 2 years ago

Cleaning up this old PR, could you please confirm these changes as they affect your code @Eddykasp ?