erwanito12
erwanito12
I want to reproduce this example: export const DisplayNode = new NodeBuilder("DisplayNode") .setName("Display") .addInputInterface("Value") .addOption("ValueText", "TextOption") .onCalculate(n => { let value = n.getInterface("Value").value; n.setOptionValue("ValueText", value); }) .build(); import { Node...
Thank you @krish-adi for your detailed answer, you understood my request very well. my more general idea is to be able to add options to your library. I achieved this...
which gives as result: 
with this script: from barfi import st_barfi, barfi_schemas, Block import streamlit as st feed = Block(name='Feed') feed.add_input() feed.add_option(name = 'Peak', type = 'PeakOption', value=0.4) def feed_func(self): input_1_value = self.get_interface(name='Input 1')...
In your case, the component is responsive, but I get this error if I connect an OutputNode :   Here's a simplified example of what I'd like to do:...