        (remove string/blank?)
        (string/join "\n")))
 
+
+
 (defn javascript-node-graph [node-graph]
-  (let [node-graph (graph-without-internal-nodes node-graph)
+  (let [node-graph (graph-without-ignored-nodes node-graph)
         dependencies (write-dependencies node-graph)
         constructor (write-constructor node-graph)
         connect-function (write-connect-function node-graph)

       "  }\n"
       "};"))

(defn- write-property-input-function [node-graph [from-node-id node]]
  (->> from-node-id
       (node-graph/nodes-out-from node-graph)
       (map (fn [[_ [to-id to-slot-id]]]
              [to-id (-> node-graph :nodes to-id node/node-type :inputs to-slot-id)]))
       (filter (fn [[node-id slot]] (#{:gate :accessor :constant} (:type slot))))
       (map (fn [[node-id slot]]
              (case (:type slot)
                :accessor (write-property-accessor-function node-id slot)
                :gate (write-property-accessor-function node-id slot)
                :constant (write-property-constant-function node-id slot)
                "")))
       (string/join "\n")))

(defn- write-property-input-functions [node-graph]

        (assoc :nodes nodes)
        (assoc :connections connections))))


(defn- write-connect-destinations [node-graph to-node-id]
  (->> (node-graph/nodes-in-to node-graph to-node-id)
       (map (fn [[[from-id _] _]]
              (str "    this." (node-id->var from-id)
                   ".connect(destination, input);")))
       (string/join "\n")))

(defn- write-disconnect-destinations [node-graph to-node-id]
  (->> (node-graph/nodes-in-to node-graph to-node-id)
       (map (fn [[[from-id _] _]]
              (str "    this." (node-id->var from-id)
                   ".disconnect();")))
       (string/join "\n")))

(defn- write-output-if-statements [node-graph f]
  (->> (:nodes node-graph)
       (filter (fn [[_ n]] (-> n node-export-data-type (= :output))))
       (map-indexed (fn [i [id _]]
                      (str "  if (output === " i ") {\n"
                           (f node-graph id) "\n"
