Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.


morphLayout is not executed after graph creation

+1 vote


I am a newbie here.

It seems that graphComponent.morphLayout(layout) is not executed at the end of the initialize() function. I can later, manually (i.e. via a button) can initiate the layout redraw and it works all right. It's just in the beginning all nodes are sitting in the middle of the canvas (overlapping each other), they are not distributed according to the layout.

What did I do wrong, what did I miss?

closed with the note: Not a yEd question.
in Help by (130 points)
closed by

1 Answer

0 votes

This forum is for yEd questions only. For questions regarding one the yFiles for HTML programming library, please contact yWorks support by mail. (Please include your yWorks customer or evaluator ID in your mail when doing so.)

by [yWorks] (160k points)
Legal Disclosure | Privacy Policy