def set_connectionstyle(self, connectionstyle, **kw):
if connectionstyle==None:<EOL><INDENT>return ConnectionStyle.pprint_styles()<EOL><DEDENT>if isinstance(connectionstyle, ConnectionStyle._Base):<EOL><INDENT>self._connector = connectionstyle<EOL><DEDENT>elif callable(connectionstyle):<EOL><INDENT>self._connector = connectionstyle<EOL><DEDENT>else:<EOL><INDENT>self._connector = ConnectionStyle(connectionstyle, **kw)<EOL><DEDENT>
Set the connection style.

*connectionstyle* can be a string with connectionstyle name with optional
 comma-separated attributes. Alternatively, the attrs can
 be probided as keywords.

 set_connectionstyle("arc,angleA=0,armA=30,rad=10")
 set_connectionstyle("arc", angleA=0,armA=30,rad=10)

Old attrs simply are forgotten.

Without argument (or with connectionstyle=None), return
available styles as a list of strings.