But my problem is with positioning nodes. I define node positions but when calling dolayout(bg,'Path', true) the places are different from the ones that I defined!? and when removing this and keeping dolayout(bg) before positioning (with e.g.: bg.nodes(7).Position=[50 200];) the pattern of my 28 nodes looks in the way that I defined but very small on a corner of the figure and the rest is empty. I think the size of the image is fixed according to auto display of the biograph and when repositioning, it keeps the previous size somehow!
In this condition the shapes of the nodes are not the one that I defined (circle); probably because not calling dolayout again. but they are not the default rectangles either, they are ellipses! so it seems to respond very unusual and not obeying any rules! I also tried bg.Scale and bg.LayoutScale too. Though when trying different combination of calling handles before, after, or in between dolayout each time you can get a new surprising layout of the nodes but still confused and can not produce the result that I want.
I don't know if this info would make any difference but my layout consists of 28 nodes with only 7 edges. so a lot of nodes are not connected and should be just there in a right position. I'll appreciate any information on that.
0 Comments
Sign in to comment.