import org.simantics.graphviz.continuation.Continuation;
import org.simantics.graphviz.internal.xdot.DrawCommand;
import org.simantics.graphviz.internal.xdot.DrawCommandParser;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* A drawable that draws a given graph.
* @author Hannu Niemist�
*/
public class GraphDrawable implements Drawable {
-
+ private static final Logger LOGGER = LoggerFactory.getLogger(GraphDrawable.class);
+
private static String DEFAULT_ALGORITHM = "dot";
DrawCommand[] commands;
@Override
public synchronized Rectangle2D getBounds() {
if(bounds == null)
- System.err.println("bounds == null");
+ LOGGER.warn("bounds == null");
return bounds;
}