DEV Community

Discussion on: Drawing a Mind Map with Force Directed Graphs

Collapse
 
pahund profile image
Patrick Hund

Thanks for the suggestions, I'll take a look!

Collapse
 
pahund profile image
Patrick Hund • Edited

Btw. I'm aware that three.js is not good at rendering text, that's why I'm creating the mind map nodes as sprites with canvas textures. The canvas textures contents are created using React components, so I can harness the full power of HTML/CSS to put any content I like in my graph.

Here's an early experiment I did with this technique:

The pink cube displays content rendered to a DOM node with React, including a bitmap image.