"ui5lab.wordcloud" library contains a control "WordCloud" to render tag clouds in UI5.
Word clouds are customizable with the following options -
-
words : An aggregation of Word; each word can have different weight. The control will render font-size with respect to the weight of each word. Words may also contain "icons".
-
rotate : Word clouds look more fun when words are rotated randomly.
-
randomOrder : The control can render words in random order if set to true..
-
colors : A color palette can be defined.
-
fontSizes: A list of font sizes to display words as per their "weight".
Install all the resources
npm install
Start grunt build
npm start
Once the built has completed, open up the UI5Lab browser sample (link) in your browser and you should see ui5lab.wordcloud library added in the list.