summaryrefslogtreecommitdiff
path: root/site_scons
diff options
context:
space:
mode:
authorDaniel Moody <daniel.moody@mongodb.com>2021-02-25 21:25:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-02-26 07:48:36 +0000
commit27aecefac7cb33c82c831126f646907a2b567253 (patch)
treedc7cb748a8c805bab5104d1fb8bc12b1a31f3c5f /site_scons
parentdac6c3ae77b6dfa8150a3827ea39f15ec0883373 (diff)
downloadmongo-27aecefac7cb33c82c831126f646907a2b567253.tar.gz
SERVER-52576 Added libdeps graph visualizer web service with basic features.
Diffstat (limited to 'site_scons')
-rw-r--r--site_scons/libdeps_next.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/site_scons/libdeps_next.py b/site_scons/libdeps_next.py
index a5522221ac9..9b361cc82a0 100644
--- a/site_scons/libdeps_next.py
+++ b/site_scons/libdeps_next.py
@@ -883,7 +883,7 @@ def _get_node_with_ixes(env, node, node_builder_type):
_get_node_with_ixes.node_type_ixes = dict()
def add_node_from(env, node):
- from buildscripts.libdeps.libdeps_graph_enums import NodeProps
+ from buildscripts.libdeps.libdeps.graph import NodeProps
env.GetLibdepsGraph().add_nodes_from([(
str(node.abspath),
@@ -893,7 +893,7 @@ def add_node_from(env, node):
})])
def add_edge_from(env, depender_node, dependent_node, visibility, direct):
- from buildscripts.libdeps.libdeps_graph_enums import EdgeProps
+ from buildscripts.libdeps.libdeps.graph import EdgeProps
env.GetLibdepsGraph().add_edges_from([(
dependent_node,
@@ -1247,7 +1247,7 @@ def generate_graph(env, target, source):
import fileinput
import networkx
import json
- from buildscripts.libdeps.libdeps_graph_enums import EdgeProps, NodeProps
+ from buildscripts.libdeps.libdeps.graph import EdgeProps, NodeProps
for symbol_deps_file in source:
with open(str(symbol_deps_file)) as f: