Skip to content

Releases: dash14/v-network-graph

v0.3.11

25 Dec 03:36
Compare
Choose a tag to compare

Bug Fix

  • Change to discard instances of svg-pan-zoom after unmount. (#26)

v0.3.10

04 Dec 16:16
Compare
Choose a tag to compare

Bug Fix

v0.3.9

03 Dec 12:45
Compare
Choose a tag to compare

Bug Fix

  • Fix view:zoom and view:pan events not to occur after view:unload (#24)

v0.3.8

20 Nov 15:12
Compare
Choose a tag to compare

Features

  • Add DOM<->SVG coordinate translation methods to v-network-graph instance.
    • Please see the example for more information.
  • Add a type definition for v-network-graph component instance: VNetworkGraphInstance.
    • Please see the example for usage.

v0.3.7

20 Nov 02:42
Compare
Choose a tag to compare

BugFixes

  • Fix: multiline label texts are incorrectly positioned in Safari. (#16)
  • Fix: grid scaling to be incorrect with scalingObjects: true config. (#17)

v0.3.6

15 Nov 16:09
Compare
Choose a tag to compare

BugFix

  • Fix a bug that view.minZoomLevel config isn't working properly. (#14)

v0.3.5

15 Nov 04:57
Compare
Choose a tag to compare

Bugfix

  • Fix bug that edge marker color only works for color values in hex format. (#13)

v0.3.4

14 Nov 12:55
Compare
Choose a tag to compare

Feature

  • [CREAKING CHANGE] Change that the event for a summarized edge will only occur once per line, and include edge IDs contained summarized edge to an event object.
  • Add support for contextmenu events. It catches right click same as the browser's contextmenu event.
    • view:contextmenu, node:contextmenu, edge:contextmenu, path:contextmenu
    • To disable the browser's standard context menu, you have to call event.preventDefault() in the handler.
  • Add support for the view:click event.

Bugfix

  • Fix a bug that edge:pointerover event not occurring in rect(circle) of summarized edges.
  • Implement changing mouse pointer when the summarized edge is hovered (only it is selectable)

v0.3.3

10 Nov 15:40
Compare
Choose a tag to compare

Feature

  • Add support to fire events of summarized edges.
    • edge:pointerover, edge:pointerout
    • edge:click
    • edge:select (only if configs.edge.selectable is set to true)
  • Add support the slot for draw labels of summarized edges. (example)

Note:
At the moment, changing the appearance of the summarized edge by mouse operation is not implemented. If you want to change the appearance by mouse operation, please specify the following style for the time being:

.v-network-graph .v-line-summarized > path {
  cursor: pointer;

  transition: stroke-width 0.1s linear;
}
.v-network-graph .v-line-summarized.hovered > path {
  stroke: red;
  stroke-width: 8px;
  vector-effect: non-scaling-stroke;
}
.v-network-graph .v-line-summarized.selected > path {
  stroke: green;
  stroke-width: 8px;
  vector-effect: non-scaling-stroke;
}

v0.3.2

08 Nov 12:54
Compare
Choose a tag to compare

Bug Fix

  • Fix a problem that view.{panEnabled,zoomEnabled} configs cannot be set to false.

Feature

  • Add support for specifying functions to config.edge.summarized.* config values.