'Attempt to change the given value into a graph object.
If _raise is False, this won\'t raise. If the entry can\'t be converted,
`None` is returned, meaning the caller should ignore the value or
discard it as a failed conversion.
:param (dict) value: A dict to be converted into a graph object.
:param (bool) _raise: If False, ignore bad values instead of raising.
:return: (PlotlyBase|None) The graph object or possibly `None`.'

def _value_to_graph_object(self, index, value, _raise=True):

    if (not isinstance(value, dict)):
        if _raise:
            path = (self._get_path() + (index,))
            raise exceptions.PlotlyListEntryError(self, path)
        else:
            return
    items = graph_reference.ARRAYS[self._name]['items']
    for (i, item) in enumerate(items, 1):
        try:
            return GraphObjectFactory.create(item, _raise=_raise, _parent=self, _parent_key=index, **value)
        except exceptions.PlotlyGraphObjectError:
            if ((i == len(items)) and _raise):
                raise
