OptionalcollapsedWhich state the minimap opens in. The toggle is always there — this only decides where it starts.
'auto' keeps it open unless the canvas is too small to give a 200px overlay away,
and follows the canvas from then on: collapsing when the room goes (the sidebar
opening, the window shrinking) and coming back when it returns. The first manual
toggle — or any setCollapsed call — ends that and the choice sticks.
OptionalheightHeight in CSS pixels. Left out, it follows the canvas's aspect ratio (clamped to 70–400px) so the viewport rectangle keeps the shape of the real viewport.
OptionalpositionThe corner it docks in. 'bottom-right' is the only corner the built-in chrome
leaves free in full mode.
OptionalwidthWidth in CSS pixels.
minimap(options)— how the minimap is placed and sized. Everything else about it (level of detail, when it redraws) adapts to the graph and needs no configuration.