by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Alex
    @Hatead1
    Русский?
    Nikolay Georgiev
    @nyxz
    My English is better than my Russian, sorry.
    Alex
    @Hatead1
    ok.
    This can be done, but there are plenty of conditions where the label should not be displayed. The inability to implement verification of all these conditions will kill the idea.
    U can generate svg "text" content element in connection-plugin, for example.
    Nikolay Georgiev
    @nyxz
    Ah, ok :) Thanks for the input, much appreciated!
    Nitro
    @RazWarr_twitter
    Hi all, is it possible to add a socket to a comment block to be able to connect it to a node ?
    Alex
    @Hatead1
    comment block not a node, it simple div and cannot have sockets.
    Nitro
    @RazWarr_twitter
    Can't modify it to make it look like a node ?
    Or would it be possible to create a new node with the same properties as a comment block ?
    Alex
    @Hatead1
    "Looks like" - yep, "work like" - no. Connections not only "wires", this is a lot of data structures.
    new node - perhaps, but I can't help
    Gjorche Cekovski
    @BookHouseEffect
    image.png
    @Ni55aN About the performance issue with multiple input connections to one node, is there going to be some solution soon? In my case there is always one start node and one end node, i.e. from the start node the node are expanded in width, and they should be collapsed into one in the end. The example is given above
    here is also a shorter example
    image.png
    Gjorche Cekovski
    @BookHouseEffect
    I also added a console log statement to the forwardProcess function in the engine, and this is the result for the first example with around 222 node:
    image.png
    there are 179477 executions of Engine's forwardProcess function, and it represent a huge performance issue.
    Cristian Razvan
    @CRGavrila
    image.png
    Hy, a component can have dynamic inputs? when clicking "add new input" a new input should be added. something like this:
    Alex
    @Hatead1
    @CRGavrila - yep, https://codepen.io/hatead1/pen/GaZYaq
    example for outputs, but can be easily changed to inputs
    Cristian Razvan
    @CRGavrila
    @Hatead1 nice, thx
    Cristian Razvan
    @CRGavrila
    Hy again, if someone can answer on this: retejs/module-plugin#13
    Deepak Kumar
    @dPacc
    Hi guys, I was wondering if anyone could help me out with the React version of the following codepen: https://codepen.io/Ni55aN/pen/rpOKNb
    To be more specific, what would be the react equivalent of the following snippet
    var telegram = new Vue({
    el: "#telegram",
    data: {
    botSleep: 1000,
    textfield: "",
    users: [
    { avatar: botAvatar, username: "Halmstad" },
    { avatar: userAvatar, username: "Wako", owner: true }
    ],....
    Cristian Razvan
    @CRGavrila
    @dPacc class Telegram extends React.Component {
    state = {
    users: [],
    messages: [],
    textfield: ""
    }
    render() {
    sendOwner(message) {
    ...
    }
    sendBot(message) {
    ...
    }
    return (
    <div>
    <div className="messages>{ this.state.messages.map(item => (<div>...</div>))}</div>
    <div>
    <input />
    <button onClick={() => this.sendOwner(this.state.textfield)}>SEND</button>
    </div>
    </div>)}}
    Nitro
    @RazWarr_twitter
    Hi all, Can we add child nodes inside a parent node? ( child nodes must inherit the parent node attributes )
    The goal is to create a nodes group
    Cristian Razvan
    @CRGavrila
    @RazWarr_twitter do you mean modules? https://codepen.io/Ni55aN/pen/QOEbEW
    Cristian Razvan
    @CRGavrila
    here is a starting point
    you can fork and try to adapt to react
    the messanger
    Deepak Kumar
    @dPacc
    Okay
    This is where I'm stuck
    Nitro
    @RazWarr_twitter
    @CRGavrila Not a module, I would like to have the same principle as the comment plugin ( that it can contain nodes ) except that the comment must be able to include sockets to be able to connect to other nodes
    Alex
    @Hatead1
    @RazWarr_twitter What data should be sent to these "comment connections"?
    Nitro
    @RazWarr_twitter
    @Hatead1 The node connected to the comment group will contain an attribute which must be shared with all the nodes that are inside the comment group ( parent / child )
    Nitro
    @RazWarr_twitter
    Before :
    after :
    Alex
    @Hatead1
    The idea is beautiful, but i cant help. Wait, perhaps the author will react.
    Alex
    @Hatead1
    This, by the way, is one of the variants of the "bus" idea.
    Nitro
    @RazWarr_twitter
    you have a link ?
    Alex
    @Hatead1
    image.png
    no, its idea only.
    Alex
    @Hatead1
    Any nodе can be connected to the bus anywhere, the user selects the color (or number) of the socket when connected.
    sushibear
    @sushibear
    Hey guys.. is there a way to change the color of a connection only for a selected node?
    I thought I start with the selected node, then grab it's outputs and get the connections from those. But I have no idea how to continue from here. :(
            editor.on('nodeselect', node => {
              var outputNodes = node.getConnections().filter(c => c.output.node === node);
              for (var i = 0; i < outputNodes.length; i++) {
                // get the connection from the outputs here...
              }
            });