<% var target = (type === "in")?"inputs":"outputs"; %> <% _.each(node[target], function(tmp){ %>
<%= tmp.name %>
<% }); %>