Toggle navigation
Toggle navigation
This project
Loading...
Sign in
万朱浩
/
Venue-Ops
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
马一丁
2025-12-19 23:06:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4712d9c1a6f800f552c7f6c3b3bbdd6318ae5b28
4712d9c1
1 parent
d101248e
Fix syntax issues
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
templates/graph_viewer.html
templates/graph_viewer.html
View file @
4712d9c
...
...
@@ -538,7 +538,7 @@
</div>
<!-- 图谱容器 -->
<div
class=
"graph-container"
id=
"graphContainer"
>
<div
class=
"graph-container"
id=
"graphContainer"
data-report-id=
"{{ report_id | e if report_id else '' }}"
>
<div
id=
"network"
></div>
<!-- 加载状态 -->
...
...
@@ -616,7 +616,11 @@
let
network
=
null
;
let
allNodes
=
[];
let
allEdges
=
[];
let
reportId
=
{{
report_id
|
tojson
if
report_id
else
'null'
}};
let
reportId
=
null
;
const
graphContainer
=
document
.
getElementById
(
'graphContainer'
);
if
(
graphContainer
)
{
reportId
=
graphContainer
.
dataset
.
reportId
||
null
;
}
let
graphReady
=
false
;
let
graphPollTimer
=
null
;
let
graphSearchResults
=
[];
...
...
Please
register
or
login
to post a comment