Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arrange of complex scheme #1

Closed
Ni55aN opened this issue Dec 2, 2018 · 10 comments
Closed

Arrange of complex scheme #1

Ni55aN opened this issue Dec 2, 2018 · 10 comments
Labels
help wanted Extra attention is needed

Comments

@Ni55aN
Copy link
Member

Ni55aN commented Dec 2, 2018

Arrange multiple output nodes (multiple depth)

@Ni55aN Ni55aN added the help wanted Extra attention is needed label Dec 2, 2018
@Ni55aN
Copy link
Member Author

Ni55aN commented Dec 9, 2018

v0.2.0 is published, but it can allocate nodes based on table columns

opera snapshot_2018-12-09_155818_127 0 0 1

I think we need something like this

opera snapshot_2018-12-09_155844_127 0 0 1

@Githamza
Copy link

Thanks , nice work ,
but I don't found any documentation .

To make the auto arrange work I juste need to use the editor.use(() method ?

@Ni55aN
Copy link
Member Author

Ni55aN commented Apr 18, 2019

@Githamza editor.arrange(node);

@Githamza
Copy link

@Githamza editor.arrange(node);

it's working but I get this warning in compilator

ERROR in src/app/rete/rete.component.ts(140,14): error TS2339: Property 'arrange' does not exist on type 'NodeEditor'.

@Ni55aN
Copy link
Member Author

Ni55aN commented Apr 21, 2019

@Githamza for TS you can define something like

declare module 'rete/types/editor' {
  interface NodeEditor {
    arrange(node?: Node);
  }
}

@Ni55aN
Copy link
Member Author

Ni55aN commented Apr 21, 2019

By the way, I'm planning to change method calling to an event triggering

@Ni55aN
Copy link
Member Author

Ni55aN commented Apr 23, 2019

@Githamza starting from v0.3.0 you should to trigger arrange event instead of calling the arrange method

@seveibar
Copy link

I'd also like to see more complex schemes supported, I'm also interested in contributing but may not be able to immediately (will PR if possible)

Below is an example of another complex scheme I'd like supported...

image

This autoarranges as show below currently...

image

@Ni55aN
Copy link
Member Author

Ni55aN commented Jun 28, 2019

@seveibar Rete core doesn't support a recurrent nodes

@Ni55aN
Copy link
Member Author

Ni55aN commented Oct 5, 2019

#5 (comment)

@Ni55aN Ni55aN closed this as completed Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants