cidrblock / drawthe.net

drawthe.net draws network diagrams dynamically from a text file describing the placement, layout and icons. Given a yaml file describing the hierarchy of the network and it's connections, a resulting diagram will be created.
http://go.drawthe.net
1.1k stars 129 forks source link

Label in the middle of connections #12

Open ryanmerolle opened 5 years ago

ryanmerolle commented 5 years ago

Would it be challenging to add labels/text to the middle of a connection? I am thinking for network diagrams with common details like a circuit id or speed, this could be useful.

Awesome project! Thanks!

cidrblock commented 5 years ago

That capability doesn't exist today, but I see why that would be useful. I'd have to crack open the code, which I won't have time to do for a while. I'll leave this open as a reminder though for the next time I visit it.

ryanmerolle commented 4 years ago

If I have time I will try to take a look also. I have a colleague who would like to generate these docs on demand for a bunch of offices. An additional label/text in the middle of a line/connection would be ideal for him to record circuit info.