function refreshGraphData(){
	    var shouldExecuteEmptyFilter = options.literalFilter().enabled();
	    graph.executeEmptyLiteralFilter();
	    options.literalFilter().enabled(shouldExecuteEmptyFilter);

	    var preprocessedData = _.clone(unfilteredData);

	    // Filter the data
	    options.filterModules().forEach(function ( module ){
	      preprocessedData = filterFunction(module, preprocessedData);
	    });
	    options.focuserModule().handle(undefined, true);
	    classNodes = preprocessedData.nodes;
	    properties = preprocessedData.properties;
	    links = linkCreator.createLinks(properties);
	    labelNodes = links.map(function ( link ){
	      return link.label();
	    });
	    storeLinksOnNodes(classNodes, links);
	    setForceLayoutData(classNodes, labelNodes, links);
	    // for (var i = 0; i < classNodes.length; i++) {
	    //     if (classNodes[i].setRectangularRepresentation)
	    //         classNodes[i].setRectangularRepresentation(graph.options().rectangularRepresentation());
	    // }
	  }
//Applies the data of the graph options object and parses it. The graph is not redrawn.
Applies the data of the graph options object and parses it. The graph is not redrawn.
Applies the data of the graph options object and parses it . The graph is not redrawn .
function refreshGraphData(){
	    var shouldExecuteEmptyFilter = options.literalFilter().enabled();
	    graph.executeEmptyLiteralFilter();
	    options.literalFilter().enabled(shouldExecuteEmptyFilter);
	    var preprocessedData = _.clone(unfilteredData);
	    options.filterModules().forEach(function ( module ){
	      preprocessedData = filterFunction(module, preprocessedData);
	    });
	    options.focuserModule().handle(undefined, true);
	    classNodes = preprocessedData.nodes;
	    properties = preprocessedData.properties;
	    links = linkCreator.createLinks(properties);
	    labelNodes = links.map(function ( link ){
	      return link.label();
	    });
	    storeLinksOnNodes(classNodes, links);
	    setForceLayoutData(classNodes, labelNodes, links);
	  }
function refreshGraphData ( ) { var shouldExecuteEmptyFilter = options . literalFilter ( ) . enabled ( ) ; graph . executeEmptyLiteralFilter ( ) ; options . literalFilter ( ) . enabled ( shouldExecuteEmptyFilter ) ; var preprocessedData = _ . clone ( unfilteredData ) ; options . filterModules ( ) . forEach ( function ( module ) { preprocessedData = filterFunction ( module , preprocessedData ) ; } ) ; options . focuserModule ( ) . handle ( undefined , true ) ; classNodes = preprocessedData . nodes ; properties = preprocessedData . properties ; links = linkCreator . createLinks ( properties ) ; labelNodes = links . map ( function ( link ) { return link . label ( ) ; } ) ; storeLinksOnNodes ( classNodes , links ) ; setForceLayoutData ( classNodes , labelNodes , links ) ; }
Applies the data of the graph options object and parses it.
Applies the data of the graph options object and parses it .
// Filter the data // for (var i = 0; i < classNodes.length; i++) { //     if (classNodes[i].setRectangularRepresentation) //         classNodes[i].setRectangularRepresentation(graph.options().rectangularRepresentation()); // }