DSE Graph Database “Is” relation representation in groovy


enter image description here]1,

I am having difficulty, in understanding this Graph.
I understand that

Org and Persons are vertices and ‘has vendor’,’Has Customer’ and ‘Has Employee’ are the Edges, but i am not able to understand what is meant by “isMerchant” here in the picture attached

the name is quite intuitive, the Org is of Type Merchant,

but how can i represent the same in Groovy ?

something thing like this for edge

 schema.edgeLabel('Has Vendor').connection('Org',
 'Person').ifNotExists().create()



لینک منبع

پاسخ دهید

نشانی ایمیل شما منتشر نخواهد شد. بخش‌های موردنیاز علامت‌گذاری شده‌اند *