Skip to content

v0.3.3

Compare
Choose a tag to compare
@dash14 dash14 released this 10 Nov 15:40
· 435 commits to main since this release

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;
}