ONOS Web UI - Topo2LinkLabel Documentation

Creates a link label

#Exposed methods

onChange()

Updates the link and calls the super method.

linkLabelCSSClass()

Adds a css class to the label

setPosition()

Finds the link and calculates the middle point of the link. Sets x and y values.

setScale()

Scales the link to with a consistent size

beforeRender()

Creates a reference in the corresponding link

remove()

Removes the label from the DOM Removes the reference to the link