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

Client-only Micro/Macro Layout / Synthesis #139

Open
2 of 4 tasks
NiklasRentzCAU opened this issue Apr 25, 2023 · 1 comment
Open
2 of 4 tasks

Client-only Micro/Macro Layout / Synthesis #139

NiklasRentzCAU opened this issue Apr 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@NiklasRentzCAU
Copy link
Member

NiklasRentzCAU commented Apr 25, 2023

For the future, we want to allow to use KLighD technology while not needing to have a Java-based Server to improve performance and widen the use cases for KLighD. In a first step this includes using Langium as a DSL framework and use KLighD for such DSLs as well.

Current steps necessary for implementing the client-only workflow:
See here for some internal details.
photo_2022-08-25_10-55-44

  • elkjs usable with KLighD-JS
  • (together with step 1) micro layout on the client
  • simple (Xtext/Langium) model to SKGraph synthesis on the client
    And to make writing more complex syntheses easier:
  • helper code to write syntheses on the client
@NiklasRentzCAU
Copy link
Member Author

Macro layout on the client is now possible. An issue related to that yet persists:

  • macro layout only supports the layered algorithm
    calling elkjs with any other algorithm causes it to fail layout with a message like this one:
    Error: org.eclipse.elk.core.UnsupportedConfigurationException: Layout algorithm '"radial"' not found for Root Node file:///home/path-to-file/small.kgt > Node $root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant