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

Add number support for identifiers and LayoutOptions values #260

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Jan 30, 2024

  1. Introduce and use ElkIdentifier.

    This change fixes a few issues with `elk-api.d.ts.`:
    
    1. Identifiers in ELK JSON can be a string or an integer [according to the documentation](https://eclipse.dev/elk/documentation/tooldevelopers/graphdatastructure/jsonformat.html#nodes-ports-labels-edges-and-edge-sections).
    
    > The id can be a string or an integer.
    
    Because of this, a new `type ElkIdentifier` was added and used where necessary.
    
    2. Missing semicolons in the definitions of the interfaces. Although there is no up-to-date specification for typescript, the majority of examples shown in the official documentation have semicolons. There is also inconsistent use of semicolons in this file so this fixes that as well.
    Daniel-Khodabakhsh authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    4dc0961 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Support number LayoutOptions values

    Update LayoutOptions so that values such as:
    
    ```
    'layered.spacing.nodeNodeBetweenLayers': 40
    ```
    
    is supported.
    Daniel-Khodabakhsh authored Jan 31, 2024
    Configuration menu
    Copy the full SHA
    7b133b7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    21e3f71 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    293744a View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Fix more typos.

    Daniel-Khodabakhsh authored Feb 1, 2024
    Configuration menu
    Copy the full SHA
    d188be4 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2024

  1. Configuration menu
    Copy the full SHA
    d789593 View commit details
    Browse the repository at this point in the history