Showing node labels in OrientDB Studio

不打扰是莪最后的温柔 提交于 2019-12-04 22:21:28

This is a preference setting that can be easily changed, for each class. You can display the current display settings by issuing the following query (in Browse tab) :

select * from _studio

If there are no records, simply follow the procedure you have described before (click on the node, click the "eye" symbol, than change the "display" property). When you are done, simply click "Save Configuration".

Now the previous query should display a JSON object of type GraphConfig that you can edit. There are a lot of parameters that you can change, such as nodes width, color, icon, radius and display which is the option you are looking for.

You can verify that the configuration has been saved by running the query that @cheseaux contributed (select * from _studio)
Also, make sure you click save configuration both in the vertex view (when you are changing the label), and also in the main graph view of OrientDB studio.

For example, when i run it on my db after changing the label ("display":"hash"), here's what i get:

{"width":1770,"height":500,"classes":{"psswd":{"fill":"#d62728","stroke":"#951b1c","icon":null,"display":"hash"}},"node":{"r":30},"linkDistance":140,"charge":-1000,"friction":0.9,"gravity":0.1} 
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!