Skip to content

@eightkk/vue-weave / core / GraphFitOptions

Interface: GraphFitOptions ​

Defined in: src/core/types.ts:576

Options of the NetworkGraph fit method. Without options, fit() shows the whole graph.

Properties ​

ids? ​

optional ids?: Iterable<string, any, any>

Defined in: src/core/types.ts:578

Node IDs whose combined boxes are fitted. An empty list leaves the camera unchanged.


padding? ​

optional padding?: number

Defined in: src/core/types.ts:580

Nonnegative margin in screen pixels kept around the fitted content. Default 0.

Released under the MIT License.