GithubHelp home page GithubHelp logo

Comments (2)

chrisjpatty avatar chrisjpatty commented on June 8, 2024

Hi @MonliH, I'm definitely interested in implementing this idea. You're absolutely right that there needs to be a better way to organize nodes when you have a lot. I wonder if this system should account for even deeper nesting of menus if someone has a reason to need that, in which case the group type should probably also accept an optional group key to nest that group under an existing group. But I like the API you've envisioned for this. If you're interested in trying to take on this feature I'm happy to chat about the code base with you. Thanks!

from flume.

lachjames avatar lachjames commented on June 8, 2024

Just bumping this as I'm working on a project requiring a node editor, and Flume seems like the perfect choice for us but for the lack of this very feature.

Supporting multiple levels of groups is very important for us, so while I agree that the above API is a good option, I'd suggest that the groups be given as an ordered list rather than a string (or perhaps either option can be supported).

There are a few options I can see for implementation:

  • Add logic to the "filter options" to filter for groups, e.g. "logic/binary/", and then auto-fill the filter when clicking on a group in the menu. Then subgroups/items are only shown in the menu if the corresponding filter is in the search bar. This would keep things in a single menu, allow quick searching without clicking through menus, and probably wouldn't be too hard to implement/hack in.
  • Spawn a second menu (like the Blender option given above) with sub-options. This also wouldn't be too hard, but I think the tricky part is hard-coding logic for things like ensuring the menu doesn't clip off the side of the page. Quite doable though, just needs a bit of fiddling.

My instinct is that the first option is easier and probably more usable. I'm going to look into this at some point in the next few days when I have a spare moment, and will report back. Thanks!

from flume.

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.