Usage Click anywhere between @startuml and @enduml or @dot and @enddot. Right click and choose Preview Diagram. Base The base code of this project comes from https://github.com/munro/SublimeGraphvizPreview