adjivas / ml

A library to generating UML language from Rust's project into graphiz/dot file.
https://adjivas.github.io/ml/mml
Apache License 2.0
81 stars 15 forks source link

Link elements to documentation pages #2

Open naturallymitchell opened 6 years ago

naturallymitchell commented 6 years ago

When generating an svg image as part of a handbook, it would be really nice to deep link into the handbook from the source code diagram elements.

adjivas commented 6 years ago

@mitchtbaum: There are two limitations:

And a question: this rust's comment //! ![uml](ml.svg) is translated by the rustdoc project into <img src="ml.svg" alt="uml">, both text and link from an img's tag are unelectable.

naturallymitchell commented 6 years ago

@adjivas: dot's limits prompted me to open #5 as a way around rust-dot, then seeing this SVG Comparison of Pyramids now lead me to believe that dot only helps with one group of side use cases and that SVG fits the primary use case, documentation. If generating it using an intermediary diagramming/graphing library still makes the most sense, then I believe Dia has the expressiveness and interfaces needed.