if the flowEntries array is 0 length, draw the path using src and dst ports. otherwise when the flow is being recalculated it sometimes disappears from the topology view (because flowEntries array is empty temporarily)
diff --git a/web/ons-demo/js/app.js b/web/ons-demo/js/app.js
index 05c5c9b..695e4bb 100644
--- a/web/ons-demo/js/app.js
+++ b/web/ons-demo/js/app.js
@@ -96,7 +96,7 @@
 				return;
 			}
 			var pts = [];
-			if (!d.dataPath.flowEntries) {
+			if (!d.dataPath.flowEntries || !d.dataPath.flowEntries.length) {
 				// create a temporary vector to indicate the pending flow
 				var s1 = d3.select(document.getElementById(d.dataPath.srcPort.dpid.value));
 				var s2 = d3.select(document.getElementById(d.dataPath.dstPort.dpid.value));