Skip to content

Releases: dash14/v-network-graph

v0.5.1

06 Mar 04:01
Compare
Choose a tag to compare

Features

v0.5.0

21 Feb 16:23
Compare
Choose a tag to compare

Features

  • Add the ability to select paths.
  • Add support for dynamically changing the appearance of a path when its hover/selection state changes.
  • Add support for z-order control of paths as well as nodes and edges.
  • Add support for catching new path-related events with event-handlers.
    • "path:pointerover", "path:pointerout", "path:pointerdown", "path:pointerup", "path:select"
    • Please see the reference for details.
  • Purge the dependency on victor (2D vector maths library). (#6)

BREAKING CHANGES

  • The format for specifying the path will be changed as follows.
    For the time being, the old format can be used, but it is deprecated.

    • The old format (DEPRECATED)

      // DEPRECATED
      const paths = [
        { edges: ["edge1", "edge2"] },
        { edges: ["edge2", "edge3"] },
      ]
    • The current format

      // Specify as Object with Path ID.
      const paths = {
        path1: { edges: ["edge1", "edge2"] },
        path2: { edges: ["edge2", "edge3"] },
      }

v0.4.2

09 Feb 16:03
Compare
Choose a tag to compare

Feature

  • Add the feature to specify the z-index of nodes and edges in config.
    • New config items:
      • configs.node.zOrder.*
      • configs.edge.zOrder.*
    • Live example

v0.4.1

09 Feb 15:58
Compare
Choose a tag to compare

Feature

  • Support using with Nuxt 3.
    • Fixed some problems that occurred when using with Nuxt 3.

v0.4.0

30 Jan 06:02
Compare
Choose a tag to compare

Features

  • Add the following new events that can be captured with the event handler.

    • "view.dblclick"
    • "node:dblclick"
    • "edge:dblclick"
    • "path:dblclick"

    For more information, please refer to the reference and example.

  • Add the following new configuration items.

    • view.doubleClickZoomEnabled
    • view.mouseWheelZoomEnabled

BREAKING CHANGES

  • Change the event object type of the following events from PointerEvent to MouseEvent.
    • "view:click"
    • "node:click"
    • "edge:click"

v0.3.18

25 Jan 15:45
Compare
Choose a tag to compare

Bug Fix

  • Fix an exception in ForceLayout when force("edge", ...) is not defined in customized simulation (#35)

v0.3.17

24 Jan 16:44
Compare
Choose a tag to compare

Bug Fix

  • Fix bug that nodes and edges are not updated when they are computed prop (#35)

v0.3.15

23 Jan 16:44
Compare
Choose a tag to compare

Bug Fix

  • Revise package configuration so that force-layout import works well. (#32)
    When using force-layout, import as follows:
    import { ForceLayout } from "v-network-graph/lib/force-layout"

v0.3.13

12 Jan 16:37
Compare
Choose a tag to compare

Feature

  • Add defineConfigs() function.
  • Change type of node.label.direction to string literal.
  • Add a type alias for VNetworkGraphInstance named Instance.

v0.3.12

10 Jan 17:04
Compare
Choose a tag to compare

Bug Fix

  • Fix an exception on deleting a node when the appearance of the node is customized.