ó
¡¼™\c           @   s   d  d l  m Z d „  Z d S(   i   (   t
   CartanTypec         C   s   t  |  ƒ j ƒ  S(   s¥  Display the Dynkin diagram of a given Lie algebra

    Works by generating the CartanType for the input, t, and then returning the
    Dynkin diagram method from the individual classes.

    Examples
    ========

    >>> from sympy.liealgebras.dynkin_diagram import DynkinDiagram
    >>> print(DynkinDiagram("A3"))
    0---0---0
    1   2   3

    >>> print(DynkinDiagram("B4"))
    0---0---0=>=0
    1   2   3   4

    (   R    t   dynkin_diagram(   t   t(    (    s?   lib/python2.7/site-packages/sympy/liealgebras/dynkin_diagram.pyt   DynkinDiagram   s    N(   t   cartan_typeR    R   (    (    (    s?   lib/python2.7/site-packages/sympy/liealgebras/dynkin_diagram.pyt   <module>   s   