app/frontend/javascript/pipeline-graph/index.js
Function applyMouseEvents
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const applyMouseEvents = function () {
const core = graph.getCore()
core.elements().unbind('mouseover')
core.elements().bind('mouseover', (event) => {
Function generateTooltipContent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const generateTooltipContent = function (ele) {
// pipeline properties
const pipelineName = graph.getElementPipeline(ele)
// purpose node properties