Skip to content

Instantly share code, notes, and snippets.

@uglow
Last active August 31, 2018 06:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save uglow/60ea0ec165ac4426e40c9174569cabcf to your computer and use it in GitHub Desktop.
Save uglow/60ea0ec165ac4426e40c9174569cabcf to your computer and use it in GitHub Desktop.
Example of using script within SVG. Based on info from http://www.petercollingridge.co.uk/tutorials/svg/interactive/javascript/ and my own DrawIO SVG hacking (as DrawIO's SVG support is barely functional). Working version:https://rawgit.com/uglow/60ea0ec165ac4426e40c9174569cabcf/raw/3e880520260f56e73ec3bf5ab9f0399b6dfa4541/interactive-drawio.svg
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment