def DynkinDiagram(t):
 return CartanType(t).dynkin_diagram()

def DynkinDiagram ( t ) : return CartanType ( t ) . dynkin_diagram ( )
display the dynkin diagram of a given lie algebra works by generating the cartantype for the input .