Skip to content

Commit

Permalink
flowchart: add class 'clickable' on vertices with link or click function
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasleveil committed Dec 3, 2017
1 parent 8db7d73 commit e0f7469
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/diagrams/flowchart/graphDb.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,11 +204,13 @@ export const setClickEvent = function (id, functionName, link, tooltip) {
setTooltip(id2, tooltip)
setClickFun(id2, functionName)
setLink(id2, link)
setClass(id, 'clickable')
})
} else {
setTooltip(id, tooltip)
setClickFun(id, functionName)
setLink(id, link)
setClass(id, 'clickable')
}
}

Expand Down

0 comments on commit e0f7469

Please sign in to comment.