@graphty/graphty-element / index / NodeThumbnailOptions
Interface: NodeThumbnailOptions ​
Defined in: graphty-element/src/meshes/NodeThumbnail.ts:21
What a node thumbnail draws.
Properties ​
color? ​
readonlyoptionalcolor?:string
Defined in: graphty-element/src/meshes/NodeThumbnail.ts:25
Its color, as node.color takes it. Defaults to a mid gray.
shape ​
readonlyshape:string
Defined in: graphty-element/src/meshes/NodeThumbnail.ts:23
A node shape, as node.shape takes it ("box", "icosahedron").
size? ​
readonlyoptionalsize?:number
Defined in: graphty-element/src/meshes/NodeThumbnail.ts:27
The picture's width and height, in pixels. Defaults to 32.