add_sibling

EquationPluginModel.add_sibling(pos=None, **kwargs)

Adds a new node as a sibling to the current node object.

This method saves the node in database. The object is populated as if via:

` obj = self.__class__(**kwargs) `

Raises

PathOverflow – when the library can’t make room for the node’s new position