Hareeshchandera / jsplumb

Automatically exported from code.google.com/p/jsplumb
0 stars 0 forks source link

Flowchart is not symmetric #187

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

There seems to be a bug in the FlowChart stub calculation.

In the following fiddle all boxes have the same distance but
the arrows and lines are not symmetric:

(stub value 5)
http://jsfiddle.net/8LMpV/1/

(stub value 35)
http://jsfiddle.net/8LMpV/

This "bug" occurs in all browsers I tried:
Firefox 9 (OS-X)
Google Chrome (OS-X)
Firefox 3.6 (Windows)
Google Chrome (Windows) 
Internet Explorer 8(Windows)

Original issue reported on code.google.com by ghom...@gmail.com on 25 Jan 2012 at 4:57

Attachments:

GoogleCodeExporter commented 8 years ago
yeah looks like a bug to me. not sure if i can get this in to 1.3.5 though.  
i'll try.

Original comment by simon.po...@gmail.com on 26 Jan 2012 at 4:33

GoogleCodeExporter commented 8 years ago
Thanks it might be the same bug as 
http://code.google.com/p/jsplumb/issues/detail?id=184

Original comment by ghom...@gmail.com on 26 Jan 2012 at 10:43

GoogleCodeExporter commented 8 years ago
I also tried it with the pre release of 1.3.5:
http://jsfiddle.net/8LMpV/9/

Original comment by ghom...@gmail.com on 27 Jan 2012 at 12:52

Attachments:

GoogleCodeExporter commented 8 years ago
i will be targeting 1.3.5 for this.

Original comment by simon.po...@gmail.com on 28 Jan 2012 at 11:05

GoogleCodeExporter commented 8 years ago
upcoming 1.3.5 demo  here:

http://morrisonpitt.com/jsPlumbTest/demo/jquery/flowchartConnectorsDemo

..this is fixed.  your jsFiddle example is symmetrical now.

Original comment by simon.po...@gmail.com on 29 Jan 2012 at 8:26

GoogleCodeExporter commented 8 years ago

Original comment by simon.po...@gmail.com on 29 Jan 2012 at 7:24

GoogleCodeExporter commented 8 years ago
Thank you very much!

Original comment by ghom...@gmail.com on 30 Jan 2012 at 4:41

GoogleCodeExporter commented 8 years ago
no problem.  those connectors have been due an overhaul for ages.  they're much 
better all round now.

i'll be releasing 1.3.5 shortly.

Original comment by simon.po...@gmail.com on 30 Jan 2012 at 8:33

GoogleCodeExporter commented 8 years ago
1.3.5 was released today.

Original comment by simon.po...@gmail.com on 1 Feb 2012 at 1:58