MCPcopy Create free account
hub / github.com/PKU-ASAL/Simulated-Data / graph_init

Function graph_init

ProvDetector/src/core/Graph_Function_Library.py:11–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9import copy
10
11def graph_init():
12 # -------
13 # Function definition: 'graph_init()':
14 # (1) Initialize a directed graph as G
15 # -------
16 # Required parameters: None
17 # -------
18 # Return: an empty directed graph G
19 # -------
20 G = nx.DiGraph()
21 return G
22
23
24def graph_add_node(graph='', node_name=''):

Callers 4

provenance_graph_trainFunction · 0.70
provenance_graph_APT29Function · 0.70
provenance_graph_mgrFunction · 0.70
provenance_graph_realaptFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected