diff --git a/railsignal-app/src/components/RailSystem.vue b/railsignal-app/src/components/RailSystem.vue
index 079b94e..11a5da4 100644
--- a/railsignal-app/src/components/RailSystem.vue
+++ b/railsignal-app/src/components/RailSystem.vue
@@ -2,7 +2,7 @@
{{railSystem.name}}
-
+
diff --git a/railsignal-app/src/components/railsystem/canvasUtils.js b/railsignal-app/src/components/railsystem/canvasUtils.js
new file mode 100644
index 0000000..726b394
--- /dev/null
+++ b/railsignal-app/src/components/railsystem/canvasUtils.js
@@ -0,0 +1,16 @@
+export function roundedRect(ctx, x, y, w, h, r) {
+ if (w < 2 * r) r = w / 2;
+ if (h < 2 * r) r = h / 2;
+ ctx.beginPath();
+ ctx.moveTo(x+r, y);
+ ctx.arcTo(x+w, y, x+w, y+h, r);
+ ctx.arcTo(x+w, y+h, x, y+h, r);
+ ctx.arcTo(x, y+h, x, y, r);
+ ctx.arcTo(x, y, x+w, y, r);
+ ctx.closePath();
+}
+
+export function circle(ctx, x, y, r) {
+ ctx.beginPath();
+ ctx.arc(x, y, r, 0, Math.PI * 2);
+}
\ No newline at end of file
diff --git a/railsignal-app/src/components/railsystem/component/ComponentView.vue b/railsignal-app/src/components/railsystem/component/ComponentView.vue
index 5332df1..d6fc2ed 100644
--- a/railsignal-app/src/components/railsystem/component/ComponentView.vue
+++ b/railsignal-app/src/components/railsystem/component/ComponentView.vue
@@ -15,16 +15,16 @@
-
+