zsviczian / excalibrain

A graph view to navigate your Obsidian vault
MIT License
665 stars 17 forks source link

[feature request] add more node types support #44

Open WALL-EEEEEEE opened 2 years ago

WALL-EEEEEEE commented 2 years ago

Is your feature request related to a problem? Please describe. When I used excalibrain to build a mindmap, I found out that excalibrain now just supports for rendering two types of node: page link node and virtual page link node. I wonder if it could possible to add more node types support, heading link node, block link node, literal node (no link) etc.

Children:: [[Page#heading|alias]] # rendering the heading text and alias can be specified
Children:: [[Page^block_id]] # rendering block and alias can be specified
Children:: "literal text" # rendering just "literal text" 

It can be used to build more rich mind map。 And what's more, It can be designed as "Relation:: Node config", Relation just work as "Children", "Parent" and so on。However,Node config can designed to more powerful syntax config, not only specified the node type but also allow to config the node style。Maybe obsidian-image-caption can give you some design hints。

Describe the solution you'd like

Describe alternatives you've considered

zsviczian commented 2 years ago

I'll need to think about this. I like your suggestions, but implementation is not straightforward.