Fix cluster schematic in network graph

This commit is contained in:
2026-01-29 10:48:09 +01:00
parent de9bfcb3f3
commit 65647d7481
2 changed files with 30 additions and 31 deletions

View File

@@ -2,7 +2,7 @@
#import "../addons/cvss.typ"
#let render(target: str, targetInSentence: str, testFocus: str, testObject: str, testScenario: str, recommendation: str, start: str, end: str, setup: str, nodes: str, scope: array) = {
#let render(target: str, targetInSentence: str, testFocus: str, testObject: str, testScenario: str, recommendation: str, start: str, end: str, setup: str, nodes: raw, scope: array) = {
[
= Management Summary
@@ -87,14 +87,7 @@
[ From the perspective of the machine used for the penetration test, the network layout was seen as shown in the graph below. ]
figure(
diagraph.render("
digraph G {
rankdir=LR;
node [shape=rectangle];
" + nodes + "
}
"),
diagraph.raw-render(nodes),
caption: [
Schematic graph showing the test objective network
]