QOwnNotes icon indicating copy to clipboard operation
QOwnNotes copied to clipboard

Feature Request: Add Mind Map support

Open bkstory930 opened this issue 6 years ago • 4 comments

It will be very cool to integrate mind map function.

Grammar:

``` mindmap
FreeTxtMind
	yaml
		theme
		colors
		fontSizes
		importantNodes
			importantNodeId #ia
				childNode1
				childNode2
			importantNodeId #ib
			importantNodeId #ic
		importantPaths
			path #pa
			path #pb
		relations
			relationFrom #rf
			relationTo #rt
			relationNote
		annotations
			annotationText #atext
			annotationMessage
	type
		! importantNode
		!! importantPath
		!* rangeNode
			childNode1
			childNode2
```

Example: https://github.com/TobLoef/text2mindmap http://beta.textizemind.com/ https://freetxtmind.github.io

bkstory930 avatar Jan 03 '20 03:01 bkstory930

@Waqar144, something for you? 😆

pbek avatar Jan 03 '20 05:01 pbek

@Waqar144, something for you? laughing

We can do the syntax highlighting, not sure if that would be much use. I think the real feature request here is drawing a mind map (like the one shown in the linked websites), in our preview. I am not really sure if the preview can handle this. That'd leave us with creating a new widget(possibly derived from QGraphicsView) and do a lot of painting here and there(based on the text). Not sure about the feasibility of this one. It'd be a good addition to QON no doubt. What about scripting, maybe this can be done with scripting..

Waqar144 avatar Jan 03 '20 06:01 Waqar144

What about scripting, maybe this can be done with scripting..

If it is just done as an image it could be integrated like with https://github.com/qownnotes/scripts/blob/master/paste-latex-image/paste-latex-image.qml

Actually rendering a mindmap in the preview would be very hard without javascript...

pbek avatar Jan 03 '20 07:01 pbek

Hi,

Mindmaps are possible with the PLantUML script already provided for QOwnNotes.

cf. https://plantuml.com/fr/mindmap-diagram

Beurt avatar Jan 10 '20 14:01 Beurt