This is a base class for creating a label
#Exposed methods
By default: updates the label text if this.set({label: 'value'})
is called updates the position if this.set({x: 'value', y: 'value'})
is called
Applies the style property (this.get('styles')
) to the DOM elements
Creates the default rendering for the text
Creates the default rendering for the icon
Creates the default DOM structure for the entire label. Calls this.renderIcon()
and this.renderText()
Removes the label from the DOM
Must set properties x and y
this.set({ x: 10, y: 20, })
Called whenever a user scales the topology view