Replies: 1 comment
|
@DAAworld Yes, but it depends on what you mean by "complex interactions." From the current documentation, custom components are primarily Python-based. You define a component by subclassing If your goal is something like:
then a Custom Component is the recommended approach and is what the official documentation focuses on. :contentReference[oaicite:1]{index=1} However, if you're looking for rich frontend interactions, for example:
I couldn't find documentation confirming that this is supported through the public Custom Component API. From what I can tell, custom components expose configurable fields in the existing Langflow UI rather than allowing you to define an entirely custom node interface. :contentReference[oaicite:2]{index=2} If your requirements truly need a bespoke node UI, you would likely need to modify Langflow's frontend itself (which is built on React) instead of relying solely on Python component configuration. I couldn't find an official guide for building custom React-based node UIs as an extension mechanism. The available documentation is focused on Python components. :contentReference[oaicite:3]{index=3} Could you share a bit more about the interaction you're trying to build? For example:
That would make it easier to suggest whether it's achievable with the existing Custom Component API or whether it would require frontend modifications. If this solves your problem, feel free to mark it as the accepted answer so others can find it easily. |
Uh oh!
There was an error while loading. Please reload this page.
I'm currently trying to create a node with complex interactions, but it's almost impossible to achieve this through python code configuration alone. Does the official documentation offer a better solution?
All reactions