Package madgraph :: Package core :: Module drawing :: Class DrawOption
[hide private]
[frames] | no frames]

Class DrawOption

source code

object --+
         |
        DrawOption

Dealing with the different option of the drawing method.
This is the list of recognize attributes:
      horizontal [False]: force S-channel to be horizontal
      external [0]: authorizes external particles to end
                at top or bottom of diagram. If bigger than zero
                this tune the length of those line.
      add_gap [0]: make external rising after each positioning.
      max_size [0]: this forbids external line bigger than 
                max_size.
      non_propagating [True]:contracts non propagating lines

Nested Classes [hide private]
  DrawingOptionError
Error raising if an invalid entry is set in a option.
Instance Methods [hide private]
 
__init__(self, opt='')
Fullfill option with standard value.
source code
 
set(self, key, value)
Check and attribute the given value.
source code
 
pass_to_logical(self, value)
convert the value in a logical
source code
 
pass_to_number(self, value)
Convert the value in a number
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, opt='')
(Constructor)

source code 

Fullfill option with standard value.

Overrides: object.__init__