svg - Setting id and class with the haskell diagrams package -


i working diagrams package haskell, , using svg backend. embed svg markup directly html document, graph part of web page. have built pretty cool looking bar graph, , add basic interactivity it. example, when hover on bar, i'd make color lighter. or maybe pop well. way accomplish setting class attributes of of svg nodes. possible diagrams package? know can target multiple backends , that class attribute has no meaningful counterpart in of them, wondering if there nevertheless way sneak in backend-specific information. insights can provide.

this cannot done in diagrams, although have in future. can part of way there using diagrams-canvas backend, displays on local host , cannot embedded web page. thing can suggest pretty print svg -p command line option , edit svg hand.


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -