Skip to content
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

Synchronize capability for client/server layout with the server #202

Open
NiklasRentzCAU opened this issue Nov 8, 2024 · 0 comments
Open
Labels
enhancement New feature or request klighd-core

Comments

@NiklasRentzCAU
Copy link
Member

Continuing #195: When the client requests a diagram, it should only ask the server to do server layout if it is capable to do so. Currently there is a preference to switch between client- and server-only layout (see #195), but a better way would be to synchronize the server capabilities first in its initial LSP messaging:

  1. If the server does not support server layout (serverlayout = false in init message), always do client layout.
  2. If the server does support server layout, let the option decide if client- or server-layout should be used. Default should be server-layout.
@NiklasRentzCAU NiklasRentzCAU added enhancement New feature or request klighd-core labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request klighd-core
Projects
None yet
Development

No branches or pull requests

1 participant