ONOS Web UI - Topo2View.js Documentation

API Subject to change soon.

Methods

newDim(_dimensions: [w,h])

Updates the dimension property to _dimensions

getDimenstions()

Returns current viewport dimensions

togglePortHighlights()

To be refactored. Toggles the port highlight preference

getPortHighlighting

To be refactored. Gets the current value for port highlighting (true/false)