Changeset 2404
- Timestamp:
- 08/13/08 11:24:59 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plugins/visualization/edu.iu.nwb.visualization.radialgraph/src/edu/iu/nwb/visualization/radialgraph/RadialGraph.java
r1975 r2404 7 7 import org.cishell.framework.algorithm.AlgorithmFactory; 8 8 import org.cishell.framework.data.Data; 9 import org.osgi.service.log.LogService; 9 10 10 11 import edu.berkeley.guir.prefuse.graph.Graph; … … 27 28 Dictionary parameters; 28 29 CIShellContext ciContext; 30 LogService log; 29 31 30 32 public RadialGraphAlg(Data[] dm, Dictionary parameters, … … 33 35 this.parameters = parameters; 34 36 this.ciContext = ciContext; 37 this.log = (LogService) ciContext.getService(LogService.class.getName()); 35 38 } 36 39 37 40 public Data[] execute() { 41 log.log(LogService.LOG_INFO, ""); 42 log.log(LogService.LOG_INFO, "Note that the radial graph layout will ignore all but the first weak component in a graph."); 43 log.log(LogService.LOG_INFO, "Nodes belonging to additional weak components will be placed in the upper-left-hand corner."); 44 log.log(LogService.LOG_INFO, "Because of this, the Radial Graph layout is not recommended for graphs with more than one weak component"); 45 38 46 Graph graph = (Graph) dm[0].getData(); 39 47 RadialGraphVisualization rgv = new RadialGraphVisualization();
