org-roam / org-roam-server

A Web Application to Visualize the Org-Roam Database
MIT License
639 stars 51 forks source link

Title of node #16

Closed qlibp closed 4 years ago

qlibp commented 4 years ago

situation: If I enter an quite long notes title, then the name of the node is something like this.

屏幕快照 2020-05-23 下午3 11 49

feature request: It would be better if there is a param we could set the max length of the name in one line shown in the graph.

This feature is shown below, implemented by roam research 屏幕快照 2020-05-23 下午3 08 51

goktug97 commented 4 years ago

Added these. https://github.com/org-roam/org-roam-server/blob/f766b25946f8bae35822066c671e6529f8df8d19/org-roam-server.el#L70-L80

image

qlibp commented 4 years ago

Further question, I'm not so familiar with emacs system, I just write newly added code into org-roam-server.el file as mentioned above, but it seems not work. What further steps should I take to activate it?

屏幕快照 2020-05-23 下午9 03 08

Thanks!

goktug97 commented 4 years ago

You don't need to add them yourself. They are added to the Github repo and built by the MELPA. So an update would suffice. To update the package; Either open M-x package-list-packages RET and press I then x to update all upgradable packages. Or if you want to update only the org-roam-server, you can reinstall org-roam-server using package-reinstall. M-x package-reinstall RET and choose org-roam-server

qlibp commented 4 years ago

Thanks, I'm done!