Skip to content

Commit

Permalink
add comment to function
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jun 25, 2024
1 parent 7c8e182 commit e441d88
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/charts/WordCloud.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ export default {
this.chart.dispose();
},
methods: {
/** Updates graph by, getting data, and processing it
*
* filters out words from user input as well
* **/
async updateGraph() {
// this is a list of [{word: String, freq: String}, ...]
const allWords = await this.chartdata.getAllWords();
Expand Down

0 comments on commit e441d88

Please sign in to comment.