 const connections = builder.getNodeConnections(lastLoraId);
  console.log(JSON.stringify({
   type: 'connection_info',
   connections: connections
  }, null, 2));
 
  builder.nodes.set(newNodeId, {
   inputs: {...loraNode.inputs},
   class_type: loraNode.class_type,
   _meta: {...loraNode._meta}
  });

  builder.connections.push(
    ...connections.incoming.map(conn => ({
      fromNode: conn.fromNode,
      fromPort: conn.fromPort,
      toNode: newNodeId,
      toParam: conn.toParam
    }))
  );

  build