Giter Site home page Giter Site logo

Comments (7)

newcat avatar newcat commented on May 22, 2024 2

This will be the next feature I am going to work on. Should be done in the next few days, at least in the @next channel (dev branch).

from baklavajs.

newcat avatar newcat commented on May 22, 2024

Yeah had separate maps/objects in earlier versions but for most use-cases it was just a hassle, so I decided to merge them into a single object. What I can do (and probably will do, but it's a breaking change, so it may take more time due to testing) is to give interfaces an additional name property, that is independent of the key in the interfaces object. This will also allow multiple input interfaces or multiple output interfaces with the same name, which might come in handy.

from baklavajs.

Stumblinbear avatar Stumblinbear commented on May 22, 2024

I agree completely. I have a few things that benefit from expanding input/output interfaces, but having to rename them on each one makes it look a bit odd. Also, my system uses an execution flow, so the input and output nodes are named Execute. Except, of course, I can't do that, so I went with Execute and Completed except sometimes when I can't because it doesn't make sense..

from baklavajs.

carbotaniuman avatar carbotaniuman commented on May 22, 2024

Any updates to this? Any way I can help development on this?

from baklavajs.

newcat avatar newcat commented on May 22, 2024

Implemented in a17cacf using the new additional property displayName. Example: https://github.com/newcat/baklavajs/blob/dev/packages/baklavajs-playground/src/MathNode.ts#L4

from baklavajs.

carbotaniuman avatar carbotaniuman commented on May 22, 2024

@newcat So how would I do this - make the interface name nameOut and nameIn and set displayName to name?

from baklavajs.

newcat avatar newcat commented on May 22, 2024

Correct, it should work like that.

from baklavajs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.