This commit is contained in:
Henning Dieterichs
2023-09-07 15:00:50 +02:00
parent d45dfdaa71
commit a9656e1e12
37 changed files with 5502 additions and 3664 deletions

View File

@@ -30,7 +30,12 @@ export function createGraphFromPointers<T>(
return createGraph<T | Pointer>(
items,
(item) => {
if ("marker" in item && item["marker"] === marker) {
if (
typeof item === "object" &&
item &&
"marker" in item &&
item["marker"] === marker
) {
return {
id: "label____" + item.name,
color: "orange",