From 68acb870f232ed44ec27c95acb82dfe9bb19f940 Mon Sep 17 00:00:00 2001 From: Thomas Jejkal Date: Tue, 12 Dec 2023 14:24:47 +0100 Subject: [PATCH] Added pid-component as export option, added missing data type in mapping, reduced graph simulation speed --- index.html | 37 ++++++++++++++++++++++++++++++++++++- js/ArcGraph.js | 2 +- js/mappings.js | 11 +++++++++-- 3 files changed, 46 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 27ac39c..fa542a8 100644 --- a/index.html +++ b/index.html @@ -21,6 +21,7 @@ integrity="sha512-uXfi0GwpQZcHIhGOMMHeNYtBSjt7qDXjXHmjShWSp+RWMSmjdy69N7M/pufinvQLv6rSYlpbSXqSnLRzWE952w==" crossorigin="anonymous" referrerpolicy="no-referrer"> + @@ -129,6 +130,21 @@

+ +

+ +
+ PID Component +
+

+
+
+
+
+ Copy Code +
+
+
@@ -272,11 +288,29 @@

navigator.clipboard.writeText(getBadgeElement(pid, value)).then(function () { addMessage(0, "Badge copied to clipboard."); }, function (err) { - addMessage(1, "Failed to copy badge clipboard."); + addMessage(1, "Failed to copy badge to clipboard."); }); } }); + $('#copycode').click(() => { + let code = "\n"; + code += "\n"; + code += "\