venn-isomorphic
v0.0.2
Published
Render Euler, Venn diagrams in Node.js
Downloads
5
Readme
venn-isomorphic
Quick and dirty solution.
Wrapper for upsetjs/venn.js to be able to run it on the server.
Code structure taken from mermaid-isomorphic.
Notes
- At first I tried to do it with JSDOM. It doesn't
work, because it needs
getComputedTextLength
for layout. - Algorithm is not stable, so tests doesn't work (svg output everytime is different)
- Not exposed:
wrap
,useViewBox
,width
,height
,padding
,colours
,colors
,fontSize
,normalize
,layoutFunction
,scaleToFit
,styled
,round
,distinct
,orientation
,orientationOrder
,lossFunction