Skip to content

(mirror) Graphviz in browser using WASM and Leptos

Notifications You must be signed in to change notification settings

xenon/dot-wasm-webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graphviz WASM WebApp

Allows graphviz editing and preview in the browser using wasm. Seems to be very fast from my small amount of testing.

How does it work?

  • Change the dot source code on the left
  • Automatically recompiles to an svg on the right

How does the code work?

  • Uses a rust crate to compile Graphviz to an SVG in addition to the Leptos frontend
  • So the graphviz engine and the frontend logic are wasm code
  • Some basic HTML and CSS to make elements and position them

Running the code

Dependencies

  • Rust compiler
  • Wasm target compiler
  • cargo install trunk

Running

  • trunk serve --open

About

(mirror) Graphviz in browser using WASM and Leptos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published