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

getFields and getTranstion returns initial lists. #7

Closed
ykartal opened this issue Nov 25, 2015 · 1 comment
Closed

getFields and getTranstion returns initial lists. #7

ykartal opened this issue Nov 25, 2015 · 1 comment

Comments

@ykartal
Copy link

ykartal commented Nov 25, 2015

Hi,
On diagram, after dragging and dropping nodes and connecting them with transitions, when call getFields method, added nodes are not seen in return list.

I'm using vaadin 7.5.5
Any idea?

@ykartal
Copy link
Author

ykartal commented Nov 25, 2015

Sorry,
This problem occurs because of wrong usage :)
True way to get added nodes list is;

diagramBuilder.getDiagramState(new DiagramBuilder.StateCallback() {

            @Override
            public void onStateReceived(DiagramStateEvent event) {
                        List<Node> nodes = event.getNodes();
            }
}

@ykartal ykartal closed this as completed Nov 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant