Re: [sympy] Diagram Drawing (#1430)

2012-08-08 Thread Tom Bachmann
+self.default_curving_step = 4 + +# This dictionary maps properties to the corresponding arrow +# formatters. +self.arrow_formatters = {} + +# This is the default arrow formatter which will be applied to +# each arrow independently of its

Re: [sympy] Diagram Drawing (#1430)

2012-08-08 Thread Tom Bachmann
+ component in morphism.components] +component_names.reverse() +morphism_name = \\circ .join(component_names) +elif isinstance(morphism, NamedMorphism): +morphism_name = latex(Symbol(morphism.name)) + +return

Re: [sympy] Diagram Drawing (#1430)

2012-08-08 Thread Tom Bachmann
+\xymatrix{ +A \ar[r]^{f} B \ar[ld]^{g} \\ +C +} + +Finally, the ``diagram_format`` argument can be used to +specify the format string of the diagram. For example, to +increase the spacing by 1 cm, proceeding as follows: + +

Re: [sympy] Diagram Drawing (#1430)

2012-08-08 Thread Tom Bachmann
+ +astr = ArrowStringDescription(cm, , 12, r, u, d, r, _, f) +assert str(astr) == \\ar@(r,u)[dr]_{f} + +astr = ArrowStringDescription(cm, , 12, r, u, d, r, _, f) +assert str(astr) == \\ar@(r,u)[dr]_{f} + +astr = ArrowStringDescription(cm, , 12, r, u, d, r, _, f) +

Re: [sympy] Diagram Drawing (#1430)

2012-08-08 Thread Tom Bachmann
Yay. I'm through. --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7594977 -- You received this message because you are subscribed to the Google Groups sympy-patches group. To post to this group, send email to

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread The Travis Bot
This pull request [passes](http://travis-ci.org/sympy/sympy/builds/2057716) (merged f0e1229b into 98cc80f0). --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7556081 -- You received this message because you are subscribed to the

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread Tom Bachmann
Can you rebase this onto master? It seems the commits from diagram-layout are still shown here... --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7560834 -- You received this message because you are subscribed to the Google Groups

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread Sergiu Ivanov
@ness01 , done; sorry, I totally forgot to rebase this branch :-( --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7562441 -- You received this message because you are subscribed to the Google Groups sympy-patches group. To post to

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread Tom Bachmann
On 07.08.2012 19:32, Sergiu Ivanov wrote: @ness01 https://github.com/ness01 , done; sorry, I totally forgot to rebase this branch :-( No problem. I'll start the reviewing tomorrow. --- Reply to this email directly or view it on GitHub:

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread Sergiu Ivanov
No problem. I'll start the reviewing tomorrow. Cool! --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7562688 -- You received this message because you are subscribed to the Google Groups sympy-patches group. To post to this group,

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread The Travis Bot
This pull request [passes](http://travis-ci.org/sympy/sympy/builds/2059822) (merged d4bdaa5e into 3c2c3c75). --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7563321 -- You received this message because you are subscribed to the

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread Ondřej Čertík
@ness01, thanks! --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1430#issuecomment-7563450 -- You received this message because you are subscribed to the Google Groups sympy-patches group. To post to this group, send email to

Re: [sympy] Diagram Drawing (#1430)

2012-08-07 Thread Stefan Krastanov
**SymPy Bot Summary:** :eight_spoked_asterisk: All tests have passed. *Test command:* setup.py test *master hash*: 3c2c3c755445737074de437f004143792f5057e3 *branch hash*: d4bdaa5ef2ef792521bbbcbd5a89ccf3efce802e **Interpreter 1:** :eight_spoked_asterisk: All tests have passed. *Interpreter:*

[sympy] Diagram Drawing (#1430)

2012-07-18 Thread Sergiu Ivanov
Based on the diagram layouts produced by the code in #1429, the code introduced by this pull request allows producing Xy-pic presentations of diagrams. This pull request should only be merged after #1429. You can merge this Pull Request by running: git pull https://github.com/scolobb/sympy