From 396702954591a37ddf0f33fbd42d2ec0210b7195 Mon Sep 17 00:00:00 2001 From: stereobooster Date: Wed, 10 Apr 2024 08:53:11 +0200 Subject: [PATCH] notes --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 636ab91..d793918 100644 --- a/README.md +++ b/README.md @@ -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`,