Giter VIP home page Giter VIP logo

Comments (6)

laimaretto avatar laimaretto commented on August 22, 2024 2

I think that a better approach would be to use an editable format, like graphml. There are potentially to good python libs to obtain a graph in graphml format: pyyed and/or N2G; I like the later better.

Graphml is a standard format to treat graphs. There is a cool diagram program called yEd, also Gephi and I believe Drawio also accepts graphml.

The interesting thing about graphml with, say, yEd, is that you can edit the network offline, pretty much like working with Visio (only better compatibility).

from topolograph.

Vadims06 avatar Vadims06 commented on August 22, 2024 1

@laimaretto thank you for your valuable feedback. I was going to use N2G package to build and edit a XML-based diagram, I also like it! I bet that Drawio also supports graphml, but anyway it's good point to test diagram visualization in yEd or Gephi as well. Could you please share your use-cases, when you use graphml/drawio - based diagram?
From my point of view it would not be convenient much to upload fresh OSPF/IS-IS LSDB and then generate Drawio diagram based on it, because you might want to add additional information (like Building, Floor, Rack number, logical layers) on the diagram once and then see it on a diagram constantly, but from the other side - you might want to keep your diagram updated ( automatically updated ). To tackle it I'm thinking about building API gateway for such static diagram in order to add/update/remove nodes and edges on diagram, but keeping format/layout unchanged. It will also allow to keep the diagram updated if NSM or any other inventory system can send webhooks in case of adding new device or link into the system. What do you think about it?..

from topolograph.

pengembaratemporer avatar pengembaratemporer commented on August 22, 2024

newbie comment :

it will be very good if we can save as to drawio or visio.

or ability to modify javascript result to :

  • modify location / position of particular router and then "Save as" that position. So we can open file again with exact position. The original file is not changed.
  • grouping location of routers based on hostname (lets say all router name whose AMS into one group.

thanks.

from topolograph.

Vadims06 avatar Vadims06 commented on August 22, 2024

Hi @pengembaratemporer ,
thank you for your valuable comments.
Node position saving is available, did you try to use square button before reload all nodes and edges?

from topolograph.

pengembaratemporer avatar pengembaratemporer commented on August 22, 2024

hi @Vadims06 ,

do you think adding IP Address of point to point link is useful ?

Thank You.

BTW, attached is proposed textfsm for ZTE router for ISIS database.

zte_zxr_show_isis_database_verbose.txt

from topolograph.

Vadims06 avatar Vadims06 commented on August 22, 2024

@pengembaratemporer,
this issue is designated to Drawio new feature. For adding new vendor is better to create a separate issue. Use huawei_vrp_display_isis_lsdb_verbose.tpl and huawei_vrp_display_isis_lsdb_verbose_stub as an example, so template for stub networks is needed.
If you could attach your ISIS LSDB or send me to admin at topolograph.com it would be great, in order I have a chance to test graph building based on new templates.

from topolograph.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.