Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD

cytoscape.ding
Class CyGraphAllLOD

java.lang.Object
  extended by cytoscape.render.stateful.GraphLOD
      extended by ding.view.PrintLOD
          extended by cytoscape.ding.CyGraphAllLOD

public class CyGraphAllLOD
extends PrintLOD

CyGraphAllLOD is the level of detail (LOD) class used for the "Show Graphics Details" menu item. It should be thought of as a "preview" for printing or exporting a network to some high-resolution graphical format (PDF, SVG, etc.). Essentially, this extends PrintLOD, but to preserve some efficiency we override the textAsShape method to allow us to continue to use fonts.


Constructor Summary
CyGraphAllLOD()
           
 
Method Summary
 boolean textAsShape(int renderNodeCount, int renderEdgeCount)
          textAsShape is called to determine if the text labels should be converted from fonts to text
 
Methods inherited from class ding.view.PrintLOD
customGraphics, dashedEdges, detail, edgeAnchors, edgeArrows, edgeLabels, nodeBorders, nodeLabels, renderEdges, setPrintingTextAsShape
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyGraphAllLOD

public CyGraphAllLOD()
Method Detail

textAsShape

public boolean textAsShape(int renderNodeCount,
                           int renderEdgeCount)
textAsShape is called to determine if the text labels should be converted from fonts to text

Overrides:
textAsShape in class PrintLOD
Parameters:
renderNodeCount - the number of nodes
renderEdgeCount - the number of edges
Returns:
true if text should be converted to shapes, false otherwise

www.cytoscape.org