This version is available via BRAT
New
- Mermaid support, including ExcalidrawAutomate support for Mermaid.
- Fourth Font now also supports fonts in OTF format
- Elements alignment snapping. Hold down control while moving the element to snap to other objects. #6256
- Holding down CTRL/CMD while drawing or moving a shape with Grid turned on will disable snap to grid #6983
- Shape Boolean Operations script in script library 🙏@GColoy
- Updated ribbon button logo to new Excalidraw logo
Fixed
- Fourth Font displays correctly in SVGNative mode
- re-colorMap map (see 1.9.19 for more info) did not work when either of the fill or stroke color properties of the image was missing.
- Excalidraw's native eyedropper fixes #7019
New in Excalidraw Automate
getPolyBool()
returns a PolyBool object- sample mermaid code:
ea = ExcalidrawAutomate();
ea.setView();
await ea.addMermaid(
`flowchart TD
A[Christmas] -->|Get money| B(Go shopping)
B --> C{Let me think}
C -->|One| D[Laptop]
C -->|Two| E[iPhone]
C -->|Three| F[fa:fa-car Car]`
);
ea.addElementsToView();