This commit is contained in:
oscar.plaisant@icloud.com
2023-10-23 23:30:51 +02:00
parent f5b9c3d02c
commit 03ecc4a65b
3433 changed files with 1756195 additions and 0 deletions

169
.obsidian/plugins/juggl/data.json vendored Normal file
View File

@@ -0,0 +1,169 @@
{
"splitDirection": "vertical",
"typedLinkPrefix": "-",
"useImgServer": false,
"imgServerPort": 3837,
"debug": false,
"globalStyleGroups": [
{
"filter": "tag:#flashcards",
"color": "#c06c36",
"shape": "ellipse",
"icon": {
"name": "No icon",
"path": "",
"color": "white"
},
"showInPane": true,
"show": true,
"size": 1
},
{
"filter": "tag:#informatique",
"color": "#1b6a75",
"shape": "ellipse",
"icon": {
"name": "No icon",
"path": "",
"color": "white"
},
"showInPane": true,
"show": true,
"size": 1
},
{
"filter": "tag:#logique",
"color": "#2b48a8",
"shape": "ellipse",
"icon": {
"name": "No icon",
"path": "",
"color": "white"
},
"showInPane": true,
"show": true,
"size": 1
},
{
"filter": "tag:#maths",
"color": "#126006",
"shape": "ellipse",
"icon": {
"name": "No icon",
"path": "",
"color": "white"
},
"showInPane": true,
"show": true,
"size": 1
},
{
"filter": "tag:#personne",
"color": "#696969",
"shape": "ellipse",
"icon": {
"name": "No icon",
"path": "",
"color": "white"
},
"showInPane": true,
"show": true,
"size": 1
},
{
"filter": "file:excalidraw",
"color": "#7524f0",
"shape": "ellipse",
"icon": {
"name": "No icon",
"path": "",
"color": "white"
},
"showInPane": true,
"show": true,
"size": 1
}
],
"globalGraphRibbon": true,
"graphSettings": {
"animateLayout": true,
"autoAddNodes": true,
"autoExpand": false,
"autoZoom": true,
"coreStore": "Obsidian",
"expandInitial": true,
"fdgdLayout": "d3-force",
"filter": "",
"height": "100%",
"hoverEdges": false,
"layout": {
"name": "dagre",
"animate": true,
"animationDuration": 500,
"spacingFactor": 0.5,
"fit": false,
"padding": 30,
"nodeDimensionsIncludeLabels": true,
"avoidOverlap": true
},
"limit": 10000,
"mergeEdges": true,
"metaKeyHover": true,
"mode": "local",
"navigator": true,
"openWithShift": false,
"readContent": true,
"styleGroups": [],
"toolbar": true,
"width": "100%",
"zoomSpeed": 1
},
"embedSettings": {
"animateLayout": true,
"autoAddNodes": false,
"autoExpand": false,
"autoZoom": false,
"coreStore": "Obsidian",
"expandInitial": true,
"fdgdLayout": "cola",
"filter": "",
"height": "400px",
"hoverEdges": false,
"layout": "force-directed",
"limit": 1000,
"mergeEdges": true,
"metaKeyHover": true,
"mode": "local",
"navigator": false,
"openWithShift": false,
"readContent": true,
"styleGroups": [],
"toolbar": false,
"width": "100%",
"zoomSpeed": 1
},
"globalGraphSettings": {
"animateLayout": true,
"autoAddNodes": true,
"autoExpand": false,
"autoZoom": true,
"coreStore": "Obsidian",
"expandInitial": false,
"fdgdLayout": "cola",
"filter": "-class:dangling -class:file",
"height": "100%",
"width": "100%",
"limit": 10000,
"hoverEdges": false,
"layout": "force-directed",
"mergeEdges": true,
"metaKeyHover": true,
"mode": "workspace",
"navigator": true,
"openWithShift": false,
"readContent": false,
"styleGroups": [],
"toolbar": true,
"zoomSpeed": 1
}
}

2
.obsidian/plugins/juggl/graph.css vendored Normal file
View File

@@ -0,0 +1,2 @@
/* For a full overview of styling options, see https://js.cytoscape.org/#style */

15
.obsidian/plugins/juggl/main.js vendored Normal file

File diff suppressed because one or more lines are too long

10
.obsidian/plugins/juggl/manifest.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"id": "juggl",
"name": "Juggl",
"version": "1.4.0",
"minAppVersion": "0.11.5",
"description": "Adds a completely interactive, stylable and expandable graph view to Obsidian.",
"author": "Emile",
"authorUrl": "https://twitter.com/emilevankrieken",
"isDesktopOnly": false
}

210
.obsidian/plugins/juggl/styles.css vendored Normal file
View File

@@ -0,0 +1,210 @@
div.neovis_setting {
width: content-box;
}
div.cxtmenu-item {
opacity: 0.8;
}
/*.cytoscape-navigatorView,*/
div.cy-navigator {
width: 150px;
height: 150px;
position: fixed;
z-index: 3;
bottom: 10px;
right: 27px;
border: #828282 1px solid;
border-radius: 2px;
background-color: rgba(130, 130, 130, 0.1);
cursor: default;
overflow: hidden;
}
div.juggl-error {
background-color: red;
}
.cy-navigator > img{
position: relative;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
opacity: 0.8;
}
.cytoscape-navigatorView{
position: relative;
top: 0;
left: 0;
cursor: move;
background: #828282;
-moz-opacity: 0.20;
opacity: 0.20;
width: 50%;
height: 50%;
z-index: 0;
}
.cytoscape-navigatorOverlay{
position: relative;
top: 0;
left: 0;
z-index: 103;
width: 100%;
height: 100%;
}
.juggl-hover.is-loaded.hover-popover.popover {
opacity: 0.9;
height: max-content;
}
.juggl-preview-edge {
height: 140px !important;
}
.cy-content {
padding: 0 !important;
}
.cy-toolbar {
position: relative;
left: 8px;
top: 8px;
width: fit-content;
max-width: inherit;
height: 0;
margin: 2px;
margin-block-start: 0;
margin-block-end: 0;
z-index: 1000;
background-color: rgba(0, 0, 0, 0);
}
.cy-toolbar-section {
width: fit-content;
text-align: center;
background-color: var(--background-primary);
display: inline-block;
margin: 1px;
padding: 1px;
border-color: var(--background-modifier-border);
border-radius: 4px;
border-width: 1px;
border-style: solid;
opacity: 1;
}
.cy-toolbar > input[type='text'] {
font-size: var(--font-small);
background-color: var(--background-secondary);
height: 30px;
padding: 5px 7px;
}
button.juggl-button {
width: 27px;
height: 27px;
text-align: center;
background-color: var(--background-secondary);
padding: 0 !important;
margin: 1px;
}
.cy-toolbar-section > button:disabled {
background: var(--background-primary);
cursor: not-allowed;
}
button.juggl-button > svg > path {
fill: var(--text-muted);
opacity: 0.6;
}
button.juggl-button:hover > svg > path {
opacity: 1;
}
button.juggl-button:disabled > svg > path {
opacity: 0.3;
}
button.juggl-button-pane {
background: none;
margin: 0;
padding: 0;
width: 15px;
height: 15px;
}
div.juggl-list-text {
font-size: var(--font-small);
word-break: break-word;
}
div.juggl-style-group {
position: relative;
display: flex;
flex-wrap: wrap;
align-items: center;
padding-bottom: 6px;
padding-top: 6px;
border-bottom: 1px solid var(--background-modifier-border-focus);
}
div.juggl-style-group-hidden {
width: auto;
display: inline;
}
div.juggl-nodes-pane,
div.juggl-style-pane {
overflow-y: auto;
padding: 0 10px;
font-size: 14px;
}
.break {
flex-basis: 100%;
height: 3px;
}
/* Use a collapsed column to break to a new column */
.break-column {
flex-basis: 100%;
width: 0;
}
.react-icon {
display: inline-flex;
width: 24px;
box-sizing: content-box;
height: 24px;
stroke-width: 0;
}
.react-icon > svg {
vertical-align: top;
line-height: 0;
font-size: 0;
margin-bottom: 3px;
}
.juggl-icon-picker > .suggestion-item {
height: auto;
min-height: 24px;
}
button.juggl-icon-button {
height: 30px;
}
.juggl-style-pane-left {
display: inline-flex;
width: 50px;
justify-content: center;
}