We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c99409 commit 178c3b9Copy full SHA for 178c3b9
main.ts
@@ -23,6 +23,16 @@ export default class GraphLinkTypesPlugin extends Plugin {
23
this.handleLayoutChange();
24
}));
25
26
+ this.registerEvent(this.app.metadataCache.on("dataview:index-ready", () => {
27
+ console.log("Index ready, drawing graph link types.");
28
+ this.handleLayoutChange();
29
+ }));
30
+
31
+ this.registerEvent(this.app.metadataCache.on("dataview:metadata-change", () => {
32
+ console.log("New metadata, drawing graph link types.");
33
34
35
36
// // Add a command to the command palette
37
// this.addCommand({
38
// id: 'print-link-type',
0 commit comments