Giter Site home page Giter Site logo

Comments (6)

shamansir avatar shamansir commented on May 12, 2024

May be CSS override (by node-type-class) is enough for that?

from rpd.

shamansir avatar shamansir commented on May 12, 2024

We need this to support custom node-rendering in full potential. So, user should be able to render a node i.e. as a circle. (for example, for sebpiq/WebPd). The question may appear in inlet/outlet positioning, but I think it's that's for the first version it's not that important, they could be positioned above the replaced content. Or, node renderer could have handlers to return position by inlet/outlet index.

from rpd.

shamansir avatar shamansir commented on May 12, 2024

What's the proper way to position a lot of inlets/outlets for content-less nodes in Quartz layout?

from rpd.

shamansir avatar shamansir commented on May 12, 2024

A nice rule: If node has no def.name, but has def.first or def.always, it's header-less. And, if it has def.name, but has no def.first or def.always, it is content-less.

The problem here is that we fallback to type name if node has no name.

Also, all this stuff could be related to #135 (Collapsing node by clicking on header)

from rpd.

shamansir avatar shamansir commented on May 12, 2024

Relates to #165

from rpd.

shamansir avatar shamansir commented on May 12, 2024

Actually, using custom style (#165) allowed the style to postulate if node should be headless or contentless, see new RealPd style for the example.

from rpd.

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.