Studio graph behavior changed by not showing direct relations straight away

124 views
Skip to first unread message

syshex

unread,
Jan 26, 2015, 6:58:35 AM1/26/15
to orient-...@googlegroups.com
Hi there.

When I was using version M* , RC1 , when  making a query like this :

select from Dude where idnumber = "123456789"

On the Graph tab of the web studio, it would show me that vertex and also all directly connected vertices. 

On Final1 when I perform that same query , I get a single node , without the direct connections represented. I need to expand that node by clicking two times on it. 

For this simple query it is not something that is not that troublesome, I understand , but for my demos to possible clients, I have a few other queries that once performed showed relations between vertices automatically and all that. 

So my question is . Is this what is intended ? From now on the graph tab in studio will work in this fashion? 

(regarding RC2, I think it also worked by showing direct connections straight away, but I'm not sure).

Luigi Dell'Aquila

unread,
Jan 26, 2015, 7:05:27 AM1/26/15
to orient-...@googlegroups.com
Hi,

this must be because of disabled lightweight vertices. In Graph Studio tab only fetched records and their neighbors are represented. 
If you have lightweight edges every vertex contains the IDs of other vertices, so Studio knows about them and can display them.
If you use regular edges, every vertex points to edge documents, not directly to other vertices, so Studio doesn't know how to render them by default and you have to double-click to lazy-fetch data to be displayed.
In 2.0 final lightweight edges are disabled by default (while they were enabled by default before), this must be the reason of this change of behavior.
If you want to go back to the old behavior you can change your db settings by re-enabling lightweight edges by default (before inserting data in the db, of course). You can do it from Studio (there is a flag in DB -> Configuration) or from sql/console (see http://www.orientechnologies.com/docs/last/orientdb.wiki/SQL-Alter-Database.html )

Luigi


--

---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

syshex

unread,
Jan 26, 2015, 7:13:38 AM1/26/15
to orient-...@googlegroups.com
Hi Luigi,

I think I've always had lightweight edges disabled, including in M1,M2 , Rc1 and Rc2 . I haven't done anything particularly different from the RCs to Final. 

Are you sure that this behavior is due to that ? Because from what I can see, I've done nothing different from Rc1 and RC2 to final1.

Luigi Dell'Aquila

unread,
Jan 26, 2015, 9:09:39 AM1/26/15
to orient-...@googlegroups.com
Hi,

the problem is actually that the default behavior is changed, in RC1 lightweight edges were enabled by default, while in Final they are disabled by default, so if you start from a fresh install you will have a slightly different behavior in RC1 compared to Final.
Have you tried to change these settings?


Thanks

Luigi

Rui Pereira

unread,
Jan 26, 2015, 9:20:10 AM1/26/15
to orient-...@googlegroups.com
Nop, have not tried yet. Will do that this afternoon or tonight. Will post feedback later. 
Can you let me know what was happening with RC2 ?  Was RC2 like RC1, with lw edges enabled, or like final, with lw disabled?


--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/54hphhTlg5s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.

syshex

unread,
Jan 27, 2015, 9:33:08 AM1/27/15
to orient-...@googlegroups.com
OK, just had the chance to fix a few bugs on my import code and decided to delete the DB , create it with LW edged  and am now re-importing everything.

So, problem still stands . with Final 1 .  Graph view on Studio shows me just the nodes that are returned from the select statement and no edges nor vertices that are directly connected to it.

So,  with LW enabled and LW disabled, behavior is the same.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/54hphhTlg5s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-database+unsubscribe@googlegroups.com.

Luca Garulli

unread,
Jan 27, 2015, 10:38:03 AM1/27/15
to orient-database
Please could you post a screenshot of Studio?

Lvc@

syshex

unread,
Jan 27, 2015, 10:56:37 AM1/27/15
to orient-...@googlegroups.com
Yes

Attached :
 - image exactly after executing the select
 - image after clicking twice on one node and therefore retrieving the directly connected nodes to that node.
studio_after_select.png
studio_after_2clicks_on_a_company.png

Kiheung Park

unread,
Mar 1, 2015, 6:05:00 AM3/1/15
to orient-...@googlegroups.com
Same here.

Links are not appearing as a default.  I have changed DB configuration (enable LW) and tried "select from v" but failed to display links.

It's getting annoying that I have to display links manually.

Can you please check whether this is on purpose or not?

Thank you.

2015년 1월 27일 화요일 오전 10시 56분 37초 UTC-5, syshex 님의 말:
Reply all
Reply to author
Forward
0 new messages