Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Apr 10, 2024
1 parent 41a4e58 commit 3967029
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
Wrapper for [upsetjs/venn.js](https://github.com/upsetjs/venn.js) to be able to run it on the
server.

Code structure taken from https://github.com/remcohaszing/mermaid-isomorphic
Code structure taken from [mermaid-isomorphic](https://github.com/remcohaszing/mermaid-isomorphic).

## Notes

- At first [I tried to do it with JSDOM](https://github.com/stereobooster/venn-nodejs). 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`,
Expand Down

0 comments on commit 3967029

Please sign in to comment.