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

Component | Graph: SVGs in Link labels, Zoom start/end callbacks, Fit view to specific nodes, Docs update #465

Merged
merged 10 commits into from
Oct 30, 2024

Commits on Aug 26, 2024

  1. Component | Graph: Ability to render link labels as SVG use element…

    …s for internal links
    
    Render link labels as SVG `use` elements when the label text is an id pointing to the element provided via `svgDefs` to the container. This allows the link labels to use SVG icons instead of simple text
    rokotyan committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    4e4aa9f View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Configuration menu
    Copy the full SHA
    8e6f175 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b10aace View commit details
    Browse the repository at this point in the history
  3. Misc | Utils: Consolidate utility exports

    Consolidate utility exports in `packages/ts/src/index.ts` by creating a new `utils/index.ts` file that re-exports all utility modules. This simplifies the main entry point and makes it easier to discover and use the available utility functions.
    rokotyan committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    fd2f69d View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Component | Graph: Ensure fitView waits for layout calculation

    - Ensures the `fitView` method waits for the `_layoutCalculationPromise` to resolve before calling `_fit` to prevent potential errors.
    rokotyan committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    4630729 View commit details
    Browse the repository at this point in the history
  2. Component | Graph: Add zoom start and end callbacks

    - Adds `onZoomStart` and `onZoomEnd` callbacks to the `GraphConfigInterface` to allow users to hook into the start and end of the zoom behavior.
    - Implements the `_onZoomStart` and `_onZoomEnd` methods to call the respective callbacks when the zoom behavior starts and ends.
    rokotyan committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    ebb8646 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ce973a View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Component | Graph: Add ability to fit view to specific nodes

    - Adds an optional `nodeIds` parameter to the `fitView` method that allows the caller to specify which nodes to fit the view to.
    - Updates the `_fit` method to filter the nodes to the specified `nodeIds` if provided, or use all nodes if not.
    - This enables users to focus the view on a subset of nodes, rather than always fitting the entire graph.
    rokotyan committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2a1381f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    563d42d View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

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