vault backup: 2026-01-10 13:26:01

This commit is contained in:
2026-01-10 13:26:01 +01:00
parent 9e94b7236a
commit 611690029e
8 changed files with 82 additions and 31 deletions

18
.obsidian/graph.json vendored
View File

@@ -9,14 +9,14 @@
"colorGroups": [], "colorGroups": [],
"collapse-display": false, "collapse-display": false,
"showArrow": true, "showArrow": true,
"textFadeMultiplier": 0.9, "textFadeMultiplier": 2,
"nodeSizeMultiplier": 0.7890625, "nodeSizeMultiplier": 2.31353352864583,
"lineSizeMultiplier": 0.610416666666667, "lineSizeMultiplier": 3.24045817057292,
"collapse-forces": false, "collapse-forces": false,
"centerStrength": 0.427083333333333, "centerStrength": 0.356282552083333,
"repelStrength": 9.47916666666667, "repelStrength": 17.61474609375,
"linkStrength": 0.5, "linkStrength": 0.2745361328125,
"linkDistance": 94, "linkDistance": 213,
"scale": 0.09750907142805516, "scale": 0.1300373067926375,
"close": true "close": false
} }

View File

@@ -97,7 +97,7 @@
"repelStrength": 9.47916666666667, "repelStrength": 9.47916666666667,
"linkStrength": 0.5, "linkStrength": 0.5,
"linkDistance": 94, "linkDistance": 94,
"scale": 0.09750907142805516, "scale": 0.1079115263561959,
"close": true "close": true
}, },
"openInNewTab": true, "openInNewTab": true,

View File

@@ -1,5 +1,5 @@
--- ---
title: Konzerte - Map title: Konzerte 2025 - Map
timestamp: 08.04.2025 - 14:25 timestamp: 08.04.2025 - 14:25
tags: tags:
- Map - Map

View File

@@ -0,0 +1,19 @@
---
title: 10.01.2026 - Calendar
timestamp: 10.01.2026 - 12:51
reason:
tags:
- Calendar
- Termin
---
![logo](logo.png)
# 10.01.2026
>[!info] Termin
>**Ort**: Braunschweig, MEC
>
>**Begin**: 11-22h
# Tasks
- [ ] Task1
---

View File

@@ -1,7 +1,7 @@
--- ---
title: 20.03.2026 - Calendar title: 20.03.2026 - Calendar
timestamp: 20.03.2026 - 20:15 timestamp: 20.03.2026 - 20:15
reason: reason: 6euroneunzig
tags: tags:
- Calendar - Calendar
- Termin - Termin

View File

@@ -0,0 +1,30 @@
---
title: Konzerte 2026 - Map
timestamp: 08.04.2025 - 14:25
tags:
- Map
- Konzert
- Termin
---
# Location - Veranstaltungen
```leaflet
id: leaflet-map
height: 500px
lat: 52.83995733000069
long: 9.075963655907822
//lat: 51.165691
//long: 10.451526
minZoom: 1
maxZoom: 18
defaultZoom: 7
unit: meters
scale: 1
darkMode: true
marker: Vorlesung, 52.273438016792106, 10.526113295806729, [[Time Table|Vorlesung 1-13]]
marker: Veranstaltung, 52.258862152478194, 10.48270366530914, [[09.01.2026|Tattoo Convention]]
marker: Konzert, 53.556498523196574, 9.970009790796112, [[20.03.2026|6€90]]
```

View File

@@ -312,7 +312,7 @@ dv.paragraph(md);
``` ```
--- ---
![[Veranstaltungen - 2025]] ![[Veranstaltungen - 2026]]
--- ---
@@ -484,10 +484,10 @@ if (tagEntries.length === 0) {
window.renderChart(chartData, wrapper); window.renderChart(chartData, wrapper);
} }
``` ```
```dataviewjs ```dataviewjs
// === Config === // === Config ===
const splitOnSlash = false; // true -> merge hierarchical tags (#project/obsidian -> project) const splitOnSlash = false; // true -> merge hierarchical tags (#project/obsidian -> project)
const topN = 20; // show top N tags (null for all)
// === Catppuccin Mocha Palette === // === Catppuccin Mocha Palette ===
const catppuccin = { const catppuccin = {
@@ -527,6 +527,9 @@ const catppuccinColors = [
catppuccin.mauve catppuccin.mauve
]; ];
// Set topN to match the number of available colors
const topN = catppuccinColors.length;
// === Helpers === // === Helpers ===
function flattenTags(input, out = []) { function flattenTags(input, out = []) {
if (!input) return out; if (!input) return out;
@@ -576,11 +579,9 @@ const tagEntries = Object.entries(counts);
if (tagEntries.length === 0) { if (tagEntries.length === 0) {
dv.el("p", "⚠️ No tags found in your vault."); dv.el("p", "⚠️ No tags found in your vault.");
} else { } else {
// === Sort + limit === // === Sort + limit to color array length ===
tagEntries.sort((a, b) => b[1] - a[1]); tagEntries.sort((a, b) => b[1] - a[1]);
const limited = (topN && tagEntries.length > topN) const limited = tagEntries.slice(0, topN);
? tagEntries.slice(0, topN)
: tagEntries;
const labels = limited.map(e => toTitleCase(e[0].replace(/[-_]/g, ' '))); const labels = limited.map(e => toTitleCase(e[0].replace(/[-_]/g, ' ')));
const dataValues = limited.map(e => e[1]); const dataValues = limited.map(e => e[1]);
@@ -589,7 +590,7 @@ if (tagEntries.length === 0) {
// === Colors === // === Colors ===
const bgColors = [], borderColors = []; const bgColors = [], borderColors = [];
for (let i = 0; i < labels.length; i++) { for (let i = 0; i < labels.length; i++) {
const color = catppuccinColors[i % catppuccinColors.length]; const color = catppuccinColors[i];
bgColors.push(color + "aa"); bgColors.push(color + "aa");
borderColors.push(color); borderColors.push(color);
} }
@@ -603,18 +604,19 @@ if (tagEntries.length === 0) {
wrapper.style.padding = '8px'; wrapper.style.padding = '8px';
wrapper.style.overflow = 'auto'; wrapper.style.overflow = 'auto';
// === Center label === // === Center label ===
const centerLabel = document.createElement('div'); const centerLabel = document.createElement('div');
centerLabel.style.position = 'absolute'; centerLabel.style.position = 'absolute';
centerLabel.style.top = '50%'; centerLabel.style.top = '55%';
centerLabel.style.left = '44%'; centerLabel.style.left = '45%';
centerLabel.style.transform = 'translate(-50%, -50%)'; centerLabel.style.transform = 'translate(-50%, -50%)';
centerLabel.style.color = catppuccin.text; centerLabel.style.color = catppuccin.text;
centerLabel.style.fontSize = '14px'; centerLabel.style.fontSize = '14px';
centerLabel.style.fontWeight = '600'; centerLabel.style.fontWeight = '600';
centerLabel.style.textAlign = 'center'; centerLabel.style.textAlign = 'center';
centerLabel.innerText = 'Tag Usage'; centerLabel.style.pointerEvents = 'none';
wrapper.appendChild(centerLabel); centerLabel.innerText = 'Tag Usage';
wrapper.appendChild(centerLabel);
// === Chart.js config === // === Chart.js config ===
const chartData = { const chartData = {