Vadims06 / topolograph

Topolograph.com is an online project which can visualize OSPF/ISIS topology based on LSDB output from a single network device. Then you can not only see (and check) the shortest path from source to destination, but also see the outcome from link or node failure along the path to the destination.
https://topolograph.com
MIT License
176 stars 23 forks source link

Feature Request - "view graph" page / resizable graph area #32

Open kirk444 opened 1 year ago

kirk444 commented 1 year ago

When using the tool currently, the graph is shown at the very bottom of the page, and the content at the top (instructions / loading lsdb) is not useful when a file is already loaded.

It would be nice to have a way to view the graph so that it would take up most of the page, instead of devoting the top 60% to the "load lsdb" section. Especially for complex topologies this would make it much easier to view and work with the graph.

Minimally, just allowing the "graph area" to be resized so that it can take up more of the page would be helpful. as of not, it can only fill less than half of the vertical space.

Vadims06 commented 1 year ago

Hi @kirk444 , Thank you for your request. I also thought about this, try to add this attributes on upload-ospf page, i.e upload-ospf?show_vendor_options=False&show_vendor_options=False&show_upload_bar=&False and give me feedback.

kirk444 commented 1 year ago

I tried to add the parameters, but it doesn't seem to have any effect, maybe I am doing something wrong. I am running this from topolograph-docker and I used the following: http://localhost:8080/upload-ospf-lsdb?show_vendor_options=False&show_vendor_options=False&show_upload_bar=&False

I also tried without the "-lsdb" (resulted in 404), and I tried without the ampersand before the last "False", but that had no effect either.

Vadims06 commented 1 year ago

Uh, I forgot that I implemented it on docker-based solution. So try this one vadims06/topolograph:2.32_draft and then open this http://localhost:8080/upload-ospf-lsdb?show_vendor_options=False&show_vendor_options=False&show_upload_bar=False

kirk444 commented 1 year ago

Got it, that works. I do think removing those components is an improvement, but it seems there's still a fixed limitation on the height of the graph section, even in a very tall window, the graph section is limited to a relatively small area vertically.

Similarly, the upper header ("Upload your OSPF/ISIS LSDB") is extremely large, and appears to have a fixed max width, so even in a wide window it takes up two lines (and since the letters are so large that's a significant increase in page height).