This repository was archived by the owner on Jul 29, 2019. It is now read-only.
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
Closed
Description
module:Network
version: 4.21.0
os: win10 x64
browser: chrome 64.0.3282.119
Hi! I found a problem that when there are more than one edge between two nodes,the latter one edge would override the former one.
I wanna it to show the total edges but it always show one. Here are my options codes below:
const options = {
interaction: {
hover: true,
hoverConnectedEdges: false
},
edges: {
smooth: {
enabled: false
},
selfReferenceSize: 20,
},
nodes: {
size: 16
},
physics: {
enabled: false,
}
}
Well,i try to resolve this problem with a kind of option and it works. Like this:
const options = {
interaction: {
hover: true,
hoverConnectedEdges: false
},
edges: {
smooth: {
enabled: true,
type: 'dynamic'
},
selfReferenceSize: 20,
},
nodes: {
size: 16
},
physics: {
enabled: true,
}
}
It only works if i enabled the smooth mode and physics mode.However it's not suitable for my program.
So how can i show multiple edges between two nodes without enableing smooth mode and physics mode?
Metadata
Metadata
Assignees
Labels
No labels