Skip to content

Commit

Permalink
Update vis-network to latest version (#15724)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored Feb 21, 2024
1 parent caf137e commit 4f75302
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions conan/cli/formatters/graph/info_graph_html.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
graph_info_html = """
<html lang="en">
<head>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.18.1/vis.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/vis/4.18.1/vis.min.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/vis-network/9.1.9/dist/vis-network.min.js"></script>
</head>
<body>
Expand Down Expand Up @@ -93,7 +92,7 @@
})
{% if error["context"].node.id is not none %}
// Add edge from node that introduces the conflict to the new error node
// Add edge from node that introduces the conflict to the new error node ({{graph.node_map[error["context"].node].short_label}})
edges.push({from: {{ graph.node_map[error["context"].node].id }},
to: "{{ error["type"] }}",
color: "red",
Expand All @@ -105,7 +104,7 @@
{% endif %}
{% if error["context"].prev_node is none and error["context"].base_previous.id is not none %}
// Add edge from base node to the new error node
// Add edge from base node to the new error node ({{graph.node_map[error["context"].base_previous].short_label}})
edges.push({from: {{ graph.node_map[error["context"].base_previous].id }},
to: "{{ error["type"] }}",
color: "red",
Expand All @@ -117,7 +116,7 @@
{% endif %}
{% if error["context"].prev_node is not none and error["context"].prev_node.id is not none %}
// Add edge from previous node that already had conflicting dependency
// Add edge from previous node that already had conflicting dependency ({{graph.node_map[error["context"].prev_node].short_label}})
edges.push({from: {{ graph.node_map[error["context"].prev_node].id }},
to: "{{ error["type"] }}",
color: "red",
Expand Down

0 comments on commit 4f75302

Please sign in to comment.