2 or more links between 2 nodes
See original GitHub issueHi, I want to draw 2 or more links between 2 nodes to show trunk links.
For example, I prepared the JSON file like below:
{
"nodes": [
{ "name": "node1" },
{ "name": "node2" }
],
"links": [
{ "source": "node1", "target": "node2",
"meta": {
"interface": { "source": "Eth1", "target": "Eth1" }
}
},
{ "source": "node1", "target": "node2",
"meta": {
"interface": { "source": "Eth2", "target": "Eth2" }
}
}
]
}
By this, I expect 2 links are drawn between Eth1 of each nodes and between Eth2 of them. But the result was like below:
It seems that 2 links are overlapping. Is my JSON file is incorrect? In case of that, how can I fix it?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
2-Node with 2 parallel links - IBM
2 -Node with 2 parallel links ... This configuration is the same as the simple 2-node but adds the ability to recover because...
Read more >Multiple links between two nodes - override each other - GoJS
Hi, I'm creating a flow chart base on a model I'm getting from a 3rd party. The model include step data & link...
Read more >two links between two nodes - Cacti Forums
Hi, How i can create a two links between two nodes? Code: Select all # regular NODEs: NODE sw01 LABEL sw01 ...
Read more >Measure the connection between two nodes in a graph
Given a graph G, you can make a graph H where the vertices of H are the edges of G, and two vertices...
Read more >Add several links between two nodes in amcharts force ...
I'm using amcharts force directed network to render a knowledge graph. In this knowledge graph two nodes can have multiple edges in each ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve implemented an experimental option
bundle: true
, you can draw multiple links between nodes.Hope it works for you 🤞
Today’s code cannot uniq identical links, It’s currently under development. I’ll change
false
totrue
for the default behavior of thebundle
option after everything is done.Grad to hear it !
I know your great work at https://github.com/atfujiwara/inet-archaeo