ring topology completely factored out
diff --git a/web/ons-demo/js/constants.js b/web/ons-demo/js/constants.js
index 7431bba..0ef0882 100644
--- a/web/ons-demo/js/constants.js
+++ b/web/ons-demo/js/constants.js
@@ -18,4 +18,13 @@
 //	'color11',
 	'color12'
 ];
-colors.reverse();
\ No newline at end of file
+colors.reverse();
+
+/***************************************************************************************************
+Widths of each switch type
+***************************************************************************************************/
+var widths = {
+	edge: 6,
+	aggregation: 12,
+	core: 18
+}
\ No newline at end of file