Skip to content

Commit

Permalink
notes
Browse files Browse the repository at this point in the history
  • Loading branch information
stereobooster committed Jun 1, 2024
1 parent 65452a8 commit 6a8e885
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,18 @@ Fork of https://github.com/mjwybrow/edeap

## TODO

- [ ] add test for `generateDefaultLayout`
- [ ] use same format as `venn.js`
- [ ] demo (host online)
- [ ] old demo (host online)
- [ ] publish npm package
- update readme (uasgae example)
- link to the demo
- check name of package, rename repo
- check keywords
- [ ] add test for `generateDefaultLayout`
- [ ] new demo (host online)
- add `@upsetjs/venn.js` for comparison
- add pan/zoom to SVG
- [ ] memoization
- [ ] memoization?
- [ ] expose other configurations, like weights for Optmizer etc.

```ts
Expand All @@ -19,18 +25,3 @@ export interface ISetOverlap {
size: number;
}
```

## Ideas

Alternatives to clientside `textDimensions`:

- [resvg-js](https://github.com/yisibl/resvg-js)?
- [canvas](https://github.com/Brooooooklyn/canvas)
- [measureText](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/measureText)

npm packages:

- https://www.npmjs.com/package/get-text-width
- https://github.com/Evgenus/js-server-text-width
- https://www.npmjs.com/package/text-width
- https://github.com/adambisek/string-pixel-width

0 comments on commit 6a8e885

Please sign in to comment.