I’m trying to work up an amalgamated network diagram of our environment.
One of the things I’m trying to do is to have the omnigraffle document display and continue to reference text documents which are updated externally from omnigraffle.
I have a disconnected mechanism which runs periodically and exports the current allocation/assignment of IPs into a markdown file per subnet.
These files are hierarchically adjacent to the OG document:
For explanation purposes, lets say:
- The OG document’s filename is ‘diagram.graffle’
- The OG document lives in a git repo ‘networkdiagram’
- The subnets in question are 10.1.1/24, and 192.0.2/24.
I would like to be able to display/view these markdown files in omnigraffle somehow when I’m looking at the network diagram, and have OG understand that it is displaying information that may be updated upstream and reflect any external changes automagically. When the OG document is saved I’m fine with it caching/containing a static/stale copy of that data, and ideally, when the OG document is opened, if there are changes to the md files, they would be consumed and the contents of whatever internal caches inside the OG document updated with the newer/canonical data… I don’t NEED to edit them from within omnigraffle. but it might be nice if that was a thing ¯_(ツ)_/¯
Have I explained the gist of what I’m trying to accomplish sufficiently?
How would I do this? :) :)
Is this a horrible idea for some reason that I’m not currently aware of?
Is there a better way to facilitate this general idea of enriching an OG document with data that is generated, owned, and managed elsewhere?