Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Alex
    @Hatead1
    F12-Console-Errors
    dev460
    @dev460
    Nothing about this problem in the console :/
    but the codepen and the example (https://rete.js.org/#/examples/module) are not the same
    Alex
    @Hatead1
    Forget about old example, use codepen.
    dev460
    @dev460
    ? but the codepen is the old example
    the recent one (https://rete.js.org/#/examples/module) is not available
    Alex
    @Hatead1
    it is not recent, it is ancient :)
    dev460
    @dev460
    actually I am trying to add the module plugin from your Vue.js git example
    dev460
    @dev460
    I have no problems with other plugins (dock menu...) but for this one I can't make it work
    Alex
    @Hatead1
    U have working example on codepen, u can look at example code on https://github.com/retejs/rete.js.org/blob/master/src/rete/components/module-component.js, what else do you need? Or do you have the task of running all the ancient examples?
    dev460
    @dev460
    I am trying to use code from the codepen with Vue.js, so I think the bug is from my code, I will continue to search.
    Thanks for your help.
    But is it possible to have this code https://rete.js.org/#/examples/module in particular ?
    dev460
    @dev460
    bug.png
    I use the same code as codepen for ModuleComponent and TextControl classes, but the control is not displayed, any idea ?
    Alex
    @Hatead1
    and no warnings & errors in console? maybe you forget node.addControl()?
    dev460
    @dev460
    I already add it : return node.addControl(ctrl);
    no warnings & error in the console
    Alex
    @Hatead1
    no idea without code
    dev460
    @dev460
    but basically that's the codepen
    Alex
    @Hatead1
    https://codepen.io/hatead1/pen/NWbwdEq - working example Modules with Vue.JS
    Syed Abdullah Shahbaz
    @maverick-github
    hello
    i am trying to build a codeless trading bot platform using this framework
    is it possible ?
    for several cryptoexchanges
    pepo205
    @pepo205
    Hi everyone, is there a way to prevent drag and drop in specific part of a node? I hava a slider and when i try to drag and drop the value of itself, the entire node moves with me. Thanks in advance
    CodoMg
    @CodoMg
    Hy People, awesome framework! I am trying to customize the Node's HTML. I am in vue and when i try to add the custom node to the component i get the error seen in the image.
    Can somebody help me create a correct Vue component to be passed for the node? Or am i getting this all wrong? I am working a week now with Rete. Thanks in advance
    image.png
    image.png
    Alex
    @Hatead1
    https://codepen.io/hatead1/pen/oNxemKo - working example with custom vue component
    Alex
    @Hatead1
    https://codepen.io/hatead1/pen/QWGJezq - working example with actual version of rete (1.4.4) & plugins
    CodoMg
    @CodoMg
    Hy, thank you very much. I already seen this examples. This example ist not quite what i was looking for. They are not inside a vue js Project.
    CodoMg
    @CodoMg
    I am working with your repository hier: https://github.com/Hatead1/simple-rete-vue-app i am trying to customize the Node.vue but it never comes out quite as i want... Some times the Sockets are gone. When they are back something else is broken. I have to work and understand this more. Thank you still :)
    CodoMg
    @CodoMg
    Thank u very much. I managed to change my Components. I want to create a Highlight/Accessibility plugin. Do you have a Tutorial over creating a Plugin? The highlight plugin is havely connected to the Nodes, so it may be pretty dificult to externalise my current logic into a Plugin. I will try, maybe such a plugin may help also the community ...
    Alex
    @Hatead1
    plugins - use rete-cli (https://rete.js.org/#/cli)
    Matthew Turk
    @matthewturk
    Is there a way to automatically keep two different editor instances in sync, or should I wire them up through event watching and toJSON/fromJSON?
    CodoMg
    @CodoMg
    @matthewturk is not enough to watch the same file or u want to make concurrent changes with 2 instances? Are u using simple js or some framework?
    Qlife
    @Q__life_twitter
    Hi
    Is there any way to automatically highlight the node and get that in view port, Basically i am trying to implement search option.
    Qlife
    @Q__life_twitter

    Hi
    Is there any way to automatically highlight the node and get that in view port, Basically i am trying to implement search option.

    Solved

    Alex
    @Hatead1
    will you teach us?
    Qlife
    @Q__life_twitter
    I have used jQuery animate to pull that a node into view port , but i am facing some issues with moving to complete corners of the node editor after this. Any better ideas for search?
    image.png
    Bondarenko199
    @Bondarenko199
    I'm not sure that this approach is good. It's not natural for a node to be pulled like this. I think it would be better to change editor translate property to make viewport be centred on a required node.
    Maybe area plugin can do the trick. Try using AreaPlugin.zoomAt(editor, nodes);. I'm not sure if it's gonna work, but looks like it should.
    Qlife
    @Q__life_twitter
    I have tried using AreaPlugin.zoomAt(editor, nodes) but its just adjusting the over all nodes to viewport
    Alex
    @Hatead1
    Add your own code to AreaPlugin, like zoomAtNode(editor, node), get node position, set to center.
    But u can send to zoomAt map of node(s) as second param. Send map with one node.
    Alex
    @Hatead1
    not map, array, sorry. https://codepen.io/hatead1/pen/mdEVRdJ --- AreaPlugin.zoomAt(editor, [n2]);
    Qlife
    @Q__life_twitter
    Ya it worked and was super easy , Thanks Guys.
    Bondarenko199
    @Bondarenko199
    "And one moooore thing." I totally forgot to mention that the way you select node is not the best. Try using editor. selectNode(node). It also allows you to pass a second boolean argument accumulate to keep all previously selected nodes selected.
    Here is the source code.
    https://github.com/retejs/rete/blob/6bdec4f575e7ba5690fe673a6547270863b5013a/src/editor.ts#L85
    In some cases like mine (I use React plugin) you need to also call node.update() after this.
    深能
    @huangdahan
    How to implement retejs to be developed in the framework of quasarui, and do you have any more detailed documents
    CodoMg
    @CodoMg
    Can somebody teach me more about how to develop and use the rete plugins? I read this https://rete.js.org/#/cli but there not that much. I have a project, and i would like to create and test the plugin inside there.