Examples of applyLayout()


Examples of cytoscape.view.CyNetworkView.applyLayout()

    if (nodeIds.size() > LAYOUT_NODE_NUMBER){
      CySBML.LOGGER.info(String.format("More than %d nodes, no layout applied.", LAYOUT_NODE_NUMBER));
    } else {
      CyLayoutAlgorithm layout = CyLayouts.getLayout("force-directed");
      CyNetworkView view = Cytoscape.getNetworkView(network.getIdentifier());
      view.applyLayout(layout);
    }
  }
 
  private void selectSBMLTableAttributes(){
    String[] nAtts = {CySBMLConstants.ATT_TYPE,
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.