setStyle(t, s) {
    const n = this.getState(t);
    n !== void 0 && n.styles.push(s);
  }
Add a style to a state with the given id.
@example style stateId fill:#f9f,stroke:#333,stroke-width:4px
  where 'style' is the keyword
  stateId is the id of a state
  the rest of the string is the styleText (all of the attributes to be applied to the state)

@param itemId The id of item to apply the style to
@param styleText - the text of the attributes for the style