                             :toggle-visibility-shortcut toggle-visibility-shortcut}))
 
 (defn -signal-event
-  [id signal]
-  {:id     id
-   :signal signal})
+  [id parent-id signal]
+  {:id        id
+   :parent-id parent-id
+   :signal    signal})
 
 (defn -action-event
-  [signal-id id action result]
+  [id signal-id action result]
   {:id        id
    :signal-id signal-id
    :enabled?  true


                            :signal-events              nil
                            :next-signal-id             0

                            :action-events              nil
                            :next-action-id             0

(def Schema
  {::debugger {:initial-model              {schema/Any schema/Any}

               :signal-events              [{:id        schema/Int
                                             :parent-id (schema/maybe schema/Int)
                                             :signal    schema/Any}]
               :next-signal-id             schema/Int
               :highlighted-signal-id      (schema/maybe schema/Int)

               :action-events              [{:id        schema/Int
                                             :signal-id schema/Int
