The BuerliGeometry component is a very important component. It helps to visualise and interact with CAD models. It simply can be added to the canvas and already will work. There are a few properties to configure the component. See the properties in the following code snippet.
In the following code snippet we can find an example how to use the BuerliGeometry component. As we can see, selection property is set and selectGeometry() is used in the code to make edge selections. To get the whole example see buerli-starter
run which merely executes and
<BuerliGeometry> to display the results asynchroneously (although the
suspend option would allow you to orchestrate inside useEffect and useLayoutEffect).
cache which suspends and returns the result of the function as a cached and memoized value. The results can be displayed in whichever way you like, for instance returning a geometry and adding it to a mesh right away.
The dependecies are cache keys. Similar to a useMemo the inner function is called when the cache keys change. The dependencies are also passed to the inner function, so you could hoist it.