plugin/plugin copy.js
// Removes black highlight from nodes and their predecessors
Removes black highlight from nodes and their predecessors
Removes black highlight from nodes and their predecessors
function removeHighlight(d) {
        node.style("stroke", "none");
        d3.select(this).style('opacity', 1);
        link
            .style("stroke", "#999")
            .style("stroke-width", "1px")
            .style('opacity', 1);
        text.style('opacity', 1);
        node.style('opacity', 1);
    }
function removeHighlight ( d ) { node . style ( "stroke" , "none" ) ; d3 . select ( this ) . style ( 'opacity' , 1 ) ; link . style ( "stroke" , "#999" ) . style ( "stroke-width" , "1px" ) . style ( 'opacity' , 1 ) ; text . style ( 'opacity' , 1 ) ; node . style ( 'opacity' , 1 ) ; }
Removes black highlight from nodes and their predecessors
Removes black highlight from nodes and their predecessors