codeout / inet-henge

Generate d3.js based Network Diagram from JSON data.
MIT License
258 stars 38 forks source link

Support for PortChannels ? (both classic and to two switches) #22

Open marhyno opened 4 years ago

marhyno commented 4 years ago

Hi, amazing project I was wondering if there is any possibility to implement drawing for portchannels, i know there is a BUNDLE option but I was wondering if we can improve graphic to both classic setup like from switch to switch and from one switch to two switches (as we have such topology in our environment)

Look at the ovals below ? Would it be hard to implement ? Can I do it by myself ? image

codeout commented 4 years ago

The first classic one looks possible with CSS or SVG trick, I think, but the second one (multi-chassis lag) should be difficult to implement as we need:

  1. Put POP03-ag02 and POP03-bb01 in line
  2. Draw an oval over two lines

Step 1 requires an additional layout algorithm which needs extra time to implement.

codeout commented 1 year ago

Hi @marhyno,

I'm working on this very old issue, and inet-henge now supports classis PortChannels like this.

image

See README for detail.