public static NodeList createNodeList(LinkDataDuplexMap linkDataDuplexMap) {

        NodeList.Builder builder = NodeList.newBuilder(linkDataDuplexMap.size());

        createNode(builder, linkDataDuplexMap.getSourceLinkDataMap());
        logger.debug("node size:{}", builder.size());
        createNode(builder, linkDataDuplexMap.getTargetLinkDataMap());

        NodeList nodeList = builder.build();
        if (logger.isDebugEnabled()) {
            logger.debug("node size:{}", nodeList.size());
            logger.debug("allNode:{}", nodeList.getNodeList());
        }
        return nodeList;
    }
@author HyunGil Jeong
@author jaehong.kim
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/nodes/NodeListFactory.java