Skip to content

How do I use this library? #428

@Dylan190774

Description

@Dylan190774

Maybe this is a very stupid question, but I can't figure out how this library is supposed to be used.

I'm creating an image manipulator app where colors, pixel sizes, transparancy, etc. can depend on several settings. Other settings can also influence the outcome of another setting. For example, when the 'red' value of a pixel is more then 128, the size of a pixel could be bigger. And when the size of a pixel is bigger than 2, the 'blue' component is doubled.

I figured that a nodes-editor, like I see in Blender and Unity, could be a nice way to configure these settings and I stumbled on Baklava.js, which seems to be perfect, since I also use Vue3 with Typescript for my app.

However from the example I have no idea how to use it, since this only shows the editor itself, and not how the editor can be integrated in a working app, based on real variables, etc.
From the docs I understand how to define all individual nodes, and display the nodes-editor but then what? How can I use the logic of the editor in my program?

Are there more examples available on how to use this library inside an app?

Metadata

Metadata

Assignees

No one assigned

    Labels

    qaQuestions on how to use Baklava

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions