linkDataGraph

Module Contents

class HowToPlotGraph(attribute_x, attribute_y, kwargs_graph=None, excluded=None)[source]
exclude_col(self, id_col)[source]

Add id_col to exclude from the graph

__str__(self)[source]
class CollectionInfo(theCollection, kwargs, theID)[source]
get_collection(self)[source]
get_kwargs(self)[source]
get_id(self)[source]
class LinkDataGraph[source]
class _collection_linker[source]
get_collection_master(self, idToGet)[source]
is_slave(self, idToCheck)[source]
set_same_master(self, idExistingSlave, idOtherSlave)[source]
Parameters:
  • idExistingSlave – id collection of the existing slave
  • idOtherSlave – id collection of the new slave that has to be linked to an existing master
add_collection(self, theCollection, kwargs=None)[source]
add_graph(self, howToPlotGraph)[source]
createGraphs(self)[source]
get_howToPlotGraph(self, idGraph)[source]
get_collectionInfo(self, idCollectionInfo)[source]
create_trace(self, collectionInfo, howToPlotGraph, idGraph)[source]
get_all_id_graphs(self)[source]
get_all_traces_id_graph(self, idGraph)[source]
update_graphs(self)[source]
is_slave(self, idGraph, idTrace)[source]
get_idCollection_from_graph(self, idGraph, idTrace, getMaster=True)[source]

From indices in the graph, get index of corresponding collection

get_collection_from_graph(self, idGraph, idTrace, getMaster=True)[source]

From indices in the graph, get corresponding collection

get_dataObject_from_graph(self, idGraph, idTrace, idPoint)[source]
get_dataObjects_from_graph(self, idGraph, idTrace, idPoint_list)[source]
remove_element_from_graph(self, idGraph, idTrace, idPoint, deleteFromMaster=False)[source]

Remove element from the graph, or the master collection

remove_elements_from_trace(self, idGraph, idTrace, idPoints, deleteFromMaster=False)[source]

Performances optimisation when compared to LinkDataGraph.remove_element_from_graph()

Link data :param id_collection_graph: :param id_collection_master: :return:

remove_trace(self, idGraph, idTrace)[source]
get_graph_and_trace_from_collection(self, idCollection)[source]

Reverse search: from a collection, get the associated graph

get_mappingData_graph(self, idGraph)[source]
get_mappingData_trace(self, idGraph, idTrace)[source]