src/popoto.js
function checkHtmlComponents() {
    var graphHTMLContainer = d3.select("#" + graph.containerId);
    var taxonomyHTMLContainer = d3.select("#" + taxonomy.containerId);
    var queryHTMLContainer = d3.select("#" + queryviewer.containerId);
    var cypherHTMLContainer = d3.select("#" + cypherviewer.containerId);
    var resultsHTMLContainer = d3.select("#" + result.containerId);

    if (graphHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + graph.containerId + "\" no graph area will be generated. This ID is defined in graph.containerId property.");
        graph.isActive = false;
    } else {
        graph.isActive = true;
    }

    if (taxonomyHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + taxonomy.containerId + "\" no taxonomy filter will be generated. This ID is defined in taxonomy.containerId property.");
        taxonomy.isActive = false;
    } else {
        taxonomy.isActive = true;
    }

    if (queryHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + queryviewer.containerId + "\" no query viewer will be generated. This ID is defined in queryviewer.containerId property.");
        queryviewer.isActive = false;
    } else {
        queryviewer.isActive = true;
    }

    if (cypherHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + cypherviewer.containerId + "\" no cypher query viewer will be generated. This ID is defined in cypherviewer.containerId property.");
        cypherviewer.isActive = false;
    } else {
        cypherviewer.isActive = true;
    }

    if (resultsHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + result.containerId + "\" no result area will be generated. This ID is defined in result.containerId property.");
        result.isActive = false;
    } else {
        result.isActive = true;
    }
}
function checkHtmlComponents() {
    var graphHTMLContainer = d3.select("#" + graph.containerId);
    var taxonomyHTMLContainer = d3.select("#" + taxonomy.containerId);
    var queryHTMLContainer = d3.select("#" + queryviewer.containerId);
    var cypherHTMLContainer = d3.select("#" + cypherviewer.containerId);
    var resultsHTMLContainer = d3.select("#" + result.containerId);

    if (graphHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + graph.containerId + "\" no graph area will be generated. This ID is defined in graph.containerId property.");
        graph.isActive = false;
    } else {
        graph.isActive = true;
    }

    if (taxonomyHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + taxonomy.containerId + "\" no taxonomy filter will be generated. This ID is defined in taxonomy.containerId property.");
        taxonomy.isActive = false;
    } else {
        taxonomy.isActive = true;
    }

    if (queryHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + queryviewer.containerId + "\" no query viewer will be generated. This ID is defined in queryviewer.containerId property.");
        queryviewer.isActive = false;
    } else {
        queryviewer.isActive = true;
    }

    if (cypherHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + cypherviewer.containerId + "\" no cypher query viewer will be generated. This ID is defined in cypherviewer.containerId property.");
        cypherviewer.isActive = false;
    } else {
        cypherviewer.isActive = true;
    }

    if (resultsHTMLContainer.empty()) {
        logger.debug("The page doesn't contain a container with ID = \"" + result.containerId + "\" no result area will be generated. This ID is defined in result.containerId property.");
        result.isActive = false;
    } else {
        result.isActive = true;
    }
}
function checkHtmlComponents ( ) { var graphHTMLContainer = d3 . select ( "#" + graph . containerId ) ; var taxonomyHTMLContainer = d3 . select ( "#" + taxonomy . containerId ) ; var queryHTMLContainer = d3 . select ( "#" + queryviewer . containerId ) ; var cypherHTMLContainer = d3 . select ( "#" + cypherviewer . containerId ) ; var resultsHTMLContainer = d3 . select ( "#" + result . containerId ) ; if ( graphHTMLContainer . empty ( ) ) { logger . debug ( "The page doesn't contain a container with ID = \"" + graph . containerId + "\" no graph area will be generated. This ID is defined in graph.containerId property." ) ; graph . isActive = false ; } else { graph . isActive = true ; } if ( taxonomyHTMLContainer . empty ( ) ) { logger . debug ( "The page doesn't contain a container with ID = \"" + taxonomy . containerId + "\" no taxonomy filter will be generated. This ID is defined in taxonomy.containerId property." ) ; taxonomy . isActive = false ; } else { taxonomy . isActive = true ; } if ( queryHTMLContainer . empty ( ) ) { logger . debug ( "The page doesn't contain a container with ID = \"" + queryviewer . containerId + "\" no query viewer will be generated. This ID is defined in queryviewer.containerId property." ) ; queryviewer . isActive = false ; } else { queryviewer . isActive = true ; } if ( cypherHTMLContainer . empty ( ) ) { logger . debug ( "The page doesn't contain a container with ID = \"" + cypherviewer . containerId + "\" no cypher query viewer will be generated. This ID is defined in cypherviewer.containerId property." ) ; cypherviewer . isActive = false ; } else { cypherviewer . isActive = true ; } if ( resultsHTMLContainer . empty ( ) ) { logger . debug ( "The page doesn't contain a container with ID = \"" + result . containerId + "\" no result area will be generated. This ID is defined in result.containerId property." ) ; result . isActive = false ; } else { result . isActive = true ; } }
Check in the HTML page the components to generate.
Check in the HTML page the components to generate .