parameters: (self)
docstring: Prints a full svg document on stdout.
docstring_summary: Prints a full svg document on stdout.
docstring_tokens: Prints a full svg document on stdout .
function: def print_to_console(self):
          """Prints a full svg document on stdout."""
          margin = self._radius * 2 + 2
          size = [8 * 114, 8 * 80]
          self._svg.header(size, margin)
          self._svg.definitions(self._color_palette.colors)
          self.draw_grid()
          if not self._args['solution']:
              if self._args['pickup_delivery']:
                  self.draw_pickups_deliveries()
              self.draw_locations()
          else:
              self.draw_routes()
              self.draw_drop_nodes()
          if self._args['starts_ends']:
              self.draw_depots()
          else:
              self.draw_depot()
          if self._args['capacity']:
              self.draw_demands()
          if self._args['drop_nodes']:
              self.draw_demands()
          if self._args['time_windows'] or self._args['resources']:
              self.draw_time_windows()
          if ((self._args['time_windows'] or self._args['resources']) and
                  self._args['solution']):
              self.draw_tw_routes()
          self._svg.footer()
function_tokens: def print_to_console ( self ) : margin = self . _radius * 2 + 2 size = [ 8 * 114 , 8 * 80 ] self . _svg . header ( size , margin ) self . _svg . definitions ( self . _color_palette . colors ) self . draw_grid ( ) if not self . _args [ 'solution' ] : if self . _args [ 'pickup_delivery' ] : self . draw_pickups_deliveries ( ) self . draw_locations ( ) else : self . draw_routes ( ) self . draw_drop_nodes ( ) if self . _args [ 'starts_ends' ] : self . draw_depots ( ) else : self . draw_depot ( ) if self . _args [ 'capacity' ] : self . draw_demands ( ) if self . _args [ 'drop_nodes' ] : self . draw_demands ( ) if self . _args [ 'time_windows' ] or self . _args [ 'resources' ] : self . draw_time_windows ( ) if ( ( self . _args [ 'time_windows' ] or self . _args [ 'resources' ] ) and self . _args [ 'solution' ] ) : self . draw_tw_routes ( ) self . _svg . footer ( )