Examples of JsGraphNodeData


Examples of org.dspace.app.cris.network.dto.JsGraphNodeData

        } else {
            log.debug(" Build leaf node, researcher " + authority);                    
            JsGraph nodeLeaf = new JsGraph();
            nodeLeaf.setName(fullName);
            JsGraphNodeData dataNodeLeaf = new JsGraphNodeData();
            if(authority==null) {
                nodeLeaf.setId(fullName);  
                dataNodeLeaf.setModeStyle("stroke");
            }
            else {
                nodeLeaf.setId(authority);
                dataNodeLeaf.setModeStyle("fill");
            }                      
            dataNodeLeaf.setColor(plugin.getNodeCustomColor());                       
            dataNodeLeaf.setType(plugin.getType());        
            nodeLeaf.setData(dataNodeLeaf);
            log.debug(" End build leaf node, internal researcher "
                    + authority);
            graph.add(nodeLeaf);
        }
View Full Code Here

Examples of org.dspace.app.cris.network.dto.JsGraphNodeData

        else
        {
            log.debug(" Build leaf node, researcher " + authority);
            JsGraph nodeLeaf = new JsGraph();
            nodeLeaf.setName(fullName);
            JsGraphNodeData dataNodeLeaf = new JsGraphNodeData();
            if (authority == null)
            {
                nodeLeaf.setId(fullName);
                dataNodeLeaf.setModeStyle("stroke");
            }
            else
            {
                nodeLeaf.setId(authority);
                dataNodeLeaf.setModeStyle("fill");
            }
            dataNodeLeaf.setColor(plugin.getNodeCustomColor());           
            dataNodeLeaf.setType(plugin.getType());
            nodeLeaf.setData(dataNodeLeaf);
            log.debug(" End build leaf node, internal researcher " + authority);
            graph.add(nodeLeaf);
        }
View Full Code Here

Examples of org.dspace.app.cris.network.dto.JsGraphNodeData

        {
            src = authority;
            rsGraph = new JsGraph();
            rsGraph.setId(authority);
            rsGraph.setName(name);
            JsGraphNodeData dataNode = new JsGraphNodeData();
            dataNode.setColor(getNodeCustomColor());
            dataNode.setType(getType());
            dataNode.setModeStyle("fill");
            rsGraph.setData(dataNode);

        }
        else
        {
            src = name;
            rsGraph = new JsGraph();
            rsGraph.setId(name);
            rsGraph.setName(name);
            JsGraphNodeData dataNodeLeaf = new JsGraphNodeData();
            dataNodeLeaf.setColor(getNodeLeafCustomColor());           
            dataNodeLeaf.setType(getType());
            dataNodeLeaf.setModeStyle("stroke");
            rsGraph.setData(dataNodeLeaf);

        }
        if (rsGraph != null)
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.