'Load the scheme from xml formated stream.'

def load_from(self, stream):

    if (self.__nodes or self.__links or self.__annotations):
        raise ValueError('Scheme    is    not    empty.')
    if isinstance(stream, str):
        stream = open(stream, 'rb')
    readwrite.scheme_load(self, stream)
