The link feature in plantuml is really handy but it really only works with specific outputs. For instance when generating a png the entire URL information is thrown away. Many times this information is still really relevant. What I would like is the x, y coordinates and the width and height of each link in a diagram exported as a json or some orther structured way. This would allow me to take this metadata and overlay appropiate links in my tool. For instance on the web I could overlay link anchors over the png image. In latex I can generate url tags etc.
I suppose a work around could be first generating svg. Then manually extracting the links and then render again as something else. This would double the build time which I don't really like...