Geometry Config
The geometry config controls the visibility and behavior of the interaction layer — hover effects and Objects Tree sync. Changes are applied as a partial merge: only the properties you pass are updated.
setGeomConfig()
setGeomConfig(config: Partial<IGeomConfig>): void;
Pass only the properties you want to change. Unspecified properties keep their current values.
var ctrl = Visu.page0.display1.getController();
// Disable hover at low zoom levels
ctrl.setGeomConfig({
hoverSensitivity: 50,
});
IGeomConfig reference
| Property | Type | Default | Description |
|---|---|---|---|
hoverSensitivity | number (0–100) | 100 | How eagerly entities respond to hover. 100 = works at any zoom. 33 = requires ~3× zoom. 0 = disabled at all zooms |
hoverEnabled | boolean | true | When false, hover effects are never shown regardless of hoverSensitivity |
hoverTreeLink | boolean | true | When true, hovering an entity in the canvas highlights it in the Objects Tree and vice-versa |