Graph loader

orion_notebook.graph.graph_loader.get_process_tree(pid: int, muid: str, md5: str, date_from: orion_notebook.date.OrionDate, date_to: orion_notebook.date.OrionDate)Tuple[List[orion_notebook.graph.nodes.node.Node], List[orion_notebook.graph.edges.edge.Edge]]

Entry point for the Graph instance. Initializes the graph with the data from a target node, getting its ascendants, children and related data

Parameters
  • pid (int) – Pid of the target node

  • muid (str) – MUID of the machine where the data is from

  • md5 (str) – Md5 of the target node

  • date_from (OrionDate) – Lower bound date to search the target node

  • date_to (OrionDate) – Upper bound date to search the target node

Returns

A tuple with an initial list of Nodes and Edges

Return type

Tuple[List[ProcessNode], List[Edge]]