It worked very well. The only thing I should mention is when you have
anchor points in the edges it's also required to mirror these ones.
On Friday, June 1, 2012 11:32:28 AM UTC+1, Emanuel wrote:
> Hi,
> Many thanks for your replies.
> I'll try them asap.
> Cheers,
> On Thursday, May 31, 2012 7:33:54 PM UTC+1, Matthias König wrote:
>> Apply a rotation matrix to all your coordinate tuples (x,y) with the
>> rotation matrix being
>> R = [r11 r12; r21 r22]; with r11 = cos w; r12 = -sin w; r21= - sin w; r12
>> = sin w; r22 = cos w
>> and rotation angle w around the origin.
>> Is mainly linear Algebra in 2D, if you need a translation in addition
>> apply translation matrix also.
>> Write a function for
>> xnew = cos w *x -sin w*y
>> ynew = sin w *x + cos w*y
>> and apply to all x,y coordinates of the nodes in the network
>> Matthias
>> Am Montag, 28. Mai 2012 11:54:51 UTC+2 schrieb Emanuel:
>>> Hi all,
>>> I’m using the Cytoscape Hierarchical Layout, because the yFiles
>>> hierarchical layout is not accessible by code. Though, the networks with
>>> Cytoscape hierarchical layout appear vertically inverted (the top nodes
>>> appear on the bottom and vice versa) and this makes the understanding of
>>> the network a lot harder.
>>> I notice that I can rotate de network 180 degrees using the rotate
>>> function, but I can’t figure out how I can do it by code.
>>> So does anyone know how I can rotate a network 180 degrees by code?
>>> Any help with this?
>>> Many thanks.
>>> Cheers,
On Friday, June 1, 2012 11:32:28 AM UTC+1, Emanuel wrote:
> Hi,
> Many thanks for your replies.
> I'll try them asap.
> Cheers,
> On Thursday, May 31, 2012 7:33:54 PM UTC+1, Matthias König wrote:
>> Apply a rotation matrix to all your coordinate tuples (x,y) with the
>> rotation matrix being
>> R = [r11 r12; r21 r22]; with r11 = cos w; r12 = -sin w; r21= - sin w; r12
>> = sin w; r22 = cos w
>> and rotation angle w around the origin.
>> Is mainly linear Algebra in 2D, if you need a translation in addition
>> apply translation matrix also.
>> Write a function for
>> xnew = cos w *x -sin w*y
>> ynew = sin w *x + cos w*y
>> and apply to all x,y coordinates of the nodes in the network
>> Matthias
>> Am Montag, 28. Mai 2012 11:54:51 UTC+2 schrieb Emanuel:
>>> Hi all,
>>> I’m using the Cytoscape Hierarchical Layout, because the yFiles
>>> hierarchical layout is not accessible by code. Though, the networks with
>>> Cytoscape hierarchical layout appear vertically inverted (the top nodes
>>> appear on the bottom and vice versa) and this makes the understanding of
>>> the network a lot harder.
>>> I notice that I can rotate de network 180 degrees using the rotate
>>> function, but I can’t figure out how I can do it by code.
>>> So does anyone know how I can rotate a network 180 degrees by code?
>>> Any help with this?
>>> Many thanks.
>>> Cheers,