Index: /trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/FirstOrderMarkovModel.java
===================================================================
--- /trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/FirstOrderMarkovModel.java	(revision 28)
+++ /trunk/EventBenchCore/src/de/ugoe/cs/eventbench/models/FirstOrderMarkovModel.java	(revision 29)
@@ -6,4 +6,5 @@
 
 import de.ugoe.cs.eventbench.data.Event;
+import de.ugoe.cs.util.StringTools;
 import de.ugoe.cs.util.console.Console;
 import edu.uci.ics.jung.graph.Graph;
@@ -41,5 +42,5 @@
 	public String getDotRepresentation() {
 		StringBuilder stringBuilder = new StringBuilder();
-		stringBuilder.append("digraph model {");
+		stringBuilder.append("digraph model {" + StringTools.ENDLINE);
 
 		List<Event<?>> knownSymbols = new ArrayList<Event<?>>(trie.getKnownSymbols());
@@ -47,14 +48,14 @@
 		for( Event<?> symbol : knownSymbols) {
 			final String thisSaneId = symbol.getShortId().replace("\"", "\\\"").replaceAll("[\r\n]","");
-			stringBuilder.append(" " + symbol.hashCode() + " [label=\""+thisSaneId+"\"];");
+			stringBuilder.append(" " + symbol.hashCode() + " [label=\""+thisSaneId+"\"];" + StringTools.ENDLINE);
 			List<Event<?>> context = new ArrayList<Event<?>>();
 			context.add(symbol); 
 			List<Event<?>> followers = trie.getFollowingSymbols(context);
 			for( Event<?> follower : followers ) {
-				System.out.print(" "+symbol.hashCode()+" -> " + follower.hashCode() + " ");
-				System.out.println("[label=\"" + getProbability(context, follower) + "\"];");
+				stringBuilder.append(" "+symbol.hashCode()+" -> " + follower.hashCode() + " ");
+				stringBuilder.append("[label=\"" + getProbability(context, follower) + "\"];" + StringTools.ENDLINE);
 			}
 		}
-		stringBuilder.append('}');
+		stringBuilder.append('}' + StringTools.ENDLINE);
 		return stringBuilder.toString();
 	}
