This commit is contained in:
Oscar Plaisant
2025-03-16 18:05:45 +01:00
parent 29453462f9
commit f91c506a9e
572 changed files with 233842 additions and 19574 deletions

View File

@@ -0,0 +1,60 @@
{
"savedSettings": [],
"temporaryLocalGraphSetting": {
"filter": {
"searchQuery": "",
"showOrphans": true,
"showAttachments": false,
"depth": 1,
"linkType": "both"
},
"groups": [],
"display": {
"nodeSize": 3,
"linkThickness": 2,
"linkDistance": 100,
"nodeRepulsion": 2800,
"distanceFromFocal": 300,
"nodeHoverColor": "#ff0000",
"nodeHoverNeighbourColor": "#00ff00",
"linkHoverColor": "#0000ff",
"showExtension": false,
"showFullPath": false,
"showCenterCoordinates": true,
"showLinkArrow": true,
"dontMoveWhenDrag": false,
"dagOrientation": "null"
}
},
"temporaryGlobalGraphSetting": {
"filter": {
"searchQuery": "tag:#s/politique",
"showOrphans": false,
"showAttachments": false
},
"groups": [],
"display": {
"nodeSize": 3,
"linkThickness": 2,
"linkDistance": 100,
"nodeRepulsion": 2800,
"distanceFromFocal": 300,
"nodeHoverColor": "#ff0000",
"nodeHoverNeighbourColor": "#00ff00",
"linkHoverColor": "#0000ff",
"showExtension": false,
"showFullPath": false,
"showCenterCoordinates": true,
"showLinkArrow": true,
"dontMoveWhenDrag": false,
"dagOrientation": "null"
}
},
"pluginSetting": {
"maxNodeNumber": 1000,
"searchEngine": "default",
"rightClickToPan": false,
"commandLeftClickNode": "openNodeInNewTab",
"commandRightClickNode": "focusNode"
}
}

67207
.obsidian/plugins/3d-graph-new/main.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
{
"id": "3d-graph-new",
"name": "3D Graph New",
"version": "1.1.11",
"description": "A 3D Graph for Obsidian",
"author": "Hananoshika Yomaru",
"authorUrl": "https://github.com/HananoshikaYomaru",
"fundingUrl": {
"buymeacoffee": "https://www.buymeacoffee.com/yomaru",
"Github Sponsor": "https://github.com/sponsors/HananoshikaYomaru"
},
"isDesktopOnly": true
}

View File

@@ -0,0 +1,136 @@
.graph-3d-view .tree-item.is-collapsed > .tree-item-children {
display: none;
visibility: hidden;
}
.graph-3d-view {
padding: 0 !important;
position: relative;
overflow: hidden !important;
}
.graph-3d-view .graph-controls.is-collapsed > .graph-control-section {
display: none;
visibility: hidden;
}
.graph-control-section .tree-item-inner {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.graph-3d-view .graph-control-section.is-collapsed .tree-item-inner::before {
content: "▶";
margin-right: 0.5em;
}
.graph-3d-view .graph-control-section:not(.is-collapsed) .tree-item-inner::before {
content: "▼";
margin-right: 0.5em;
}
.graph-3d-view .graph-controls:hover > .control-buttons {
opacity: 0.5;
}
.graph-3d-view .graph-controls > .control-buttons:hover {
opacity: 1;
}
.graph-3d-view .graph-controls > .control-buttons {
float: right;
margin-right: 0;
opacity: 0;
}
.graph-3d-view .hidden {
display: none;
visibility: hidden;
}
.graph-3d-view .control-buttons {
display: block;
}
.graph-3d-view .control-buttons > * {
display: inline-block;
margin: 0;
}
.graph-3d-view .graph-settings-view > .clickable-icon {
position: absolute;
top: 8px;
right: 8px;
}
.graph-3d-view .node-label {
color: var(--text-normal);
}
.graph-3d-view .scene-nav-info {
display: block;
visibility: visible;
}
.mod-search-input {
width: 100%;
padding: 0.5em;
border: 1px solid var(--border-color);
border-radius: 0.25em;
background-color: var(--background-color);
color: var(--text-normal);
}
.graph-3d-view .graph-controls:not(.is-close) {
max-height: calc(90% - var(--size-4-4));
}
.workspace-leaf-content:has(.search-result-container.is-loading) .graph-controls {
/* border color purple */
border-color: var(--color-purple);
/* create the animation */
animation: color-oscillation 2s ease infinite;
}
@keyframes color-oscillation {
0% {
border: 1px solid var(--color-purple);
}
50% {
border: 1px solid var(--background-modifier-border);
}
100% {
border: 1px solid var(--color-purple);
}
}
.workspace-leaf-content:has(.search-result-container.is-loading) .search-input-container input {
animation: outline-gradient-animation 2s linear infinite;
}
@keyframes outline-gradient-animation {
0% {
box-shadow: 0 2px 0 var(--color-purple);
}
50% {
box-shadow: 0 2px 0 var(--background-modifier-border);
}
100% {
box-shadow: 0 2px 0 var(--color-purple);
}
}
/* section: setting tab */
.graph-3d-setting-tab {
> h2 {
color: var(--color-purple);
font-size: var(--h2-size);
}
> h2 + .setting-item {
border-top: 0px;
}
}