Skip to main content

ViewerGraphLayerOptions

wemap-sdk-js


Interface: ViewerGraphLayerOptions

Properties​

currentColor?​

optional currentColor?: string

Current-node highlight colour. Default orange.


edgeColor?​

optional edgeColor?: string

Edge/line colour. Default Wemap blue.


edges?​

optional edges?: boolean

Draw the edge lines. Default true.


interactive?​

optional interactive?: boolean

Click an edge or node to move the viewer there, with a pointer cursor on hover. Default true. Set false to show the graph as coverage only.


nodeColor?​

optional nodeColor?: string

Node colour. Default Wemap blue.


nodes?​

optional nodes?: boolean

Draw the node circles. Default true.