Releases: dash14/v-network-graph
Releases · dash14/v-network-graph
v0.3.11
v0.3.10
v0.3.9
v0.3.8
v0.3.7
v0.3.6
v0.3.5
v0.3.4
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
Feature
- Add support to fire events of summarized edges.
edge:pointerover
,edge:pointerout
edge:click
edge:select
(only ifconfigs.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;
}