Closed GoogleCodeExporter closed 9 years ago
i knew someone would ask for this ;)
it's a good idea. will look into it. thanks for the link!
Original comment by simon.po...@gmail.com
on 20 Oct 2010 at 8:58
this is supported in 1.2.4-RC1 now. as per the example link you sent, labels
are split by "\n". rotation is not supported and neither is a custom line
height.
you'd have to include the dev scripts to use this right now:
<script type="text/javascript"
src="BASE/js/1.2.4/jsPlumb-1.2.4-RC1.js"></script>
<script type="text/javascript"
src="BASE/js/1.2.4/jsPlumb-defaults-1.2.4-RC1.js"></script>
<script type="text/javascript"
src="BASE/js/1.2.4/jquery.jsPlumb-1.2.4-RC1.js"></script>
<script type="text/javascript" src="BASE/js/1.2.4/jsBezier-0.1.js"></script>
Original comment by simon.po...@gmail.com
on 21 Oct 2010 at 9:24
Thanks, Simon, I tried dev scripts, one problem remains:
I think, you should use "\\n" instead of "\n" here:
http://code.google.com/p/jsplumb/source/browse/trunk/js/1.2.4/jsPlumb-defaults-1
.2.4-RC1.js?spec=svn618&r=618#629
Original comment by astro64m@googlemail.com
on 24 Oct 2010 at 9:01
It was my error, everything works
however I have another suggestion: do you mind to split by \r\n too?
.split(/\r\n|\n/);
Original comment by astro64m@googlemail.com
on 24 Oct 2010 at 9:08
hey..i only just saw your comment...i released 1.2.4 tonight. will reopen and
target 1.2.5.
Original comment by simon.po...@gmail.com
on 27 Nov 2010 at 1:17
this fix is in 1.2.5-RC1 now. you'll have to use the dev scripts until i
release 1.2.5:
<script type="text/javascript"
src="BASE/js/1.2.5/jsPlumb-1.2.5-RC1.js"></script>
<script type="text/javascript"
src="BASE/js/1.2.5/jsPlumb-defaults-1.2.5-RC1.js"></script>
<script type="text/javascript"
src="BASE/js/1.2.5/jquery.jsPlumb-1.2.5-RC1.js"></script>
<script type="text/javascript" src="BASE/js/1.2.5/jsBezier-0.1.js"></script>
Original comment by simon.po...@gmail.com
on 30 Nov 2010 at 2:34
1.2.5 released recently. this issue closed.
Original comment by simon.po...@gmail.com
on 8 Dec 2010 at 4:24
Original issue reported on code.google.com by
astro64m@googlemail.com
on 20 Oct 2010 at 8:10