apache / apache/age-viewer

Highlight edges according to a property

Open
#81 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
387
Forks
268
PR merge metrics
No merged PRs in 30d

Description

Can AGE Viewer highlight an edge according to its property?

For example, we have a starting vertex labeled "Person" with :
```JSON
{
"id" : 12345 ,
"label" : "Person" ,
"properties" : { "key" : "value" }
}
```
An edge :
```JSON
{
"id" : 12346 ,
"label" : "bought_product" ,
"start_id" : 12345 ,
"end_id" : 12347 ,
"properties" :
{
"times_bought" : 3
}
}
```

And then another vertex (which is the product a person bought) :
```JSON
{
"id" : 12347 ,
"label" : "Product" ,
"properties" : { "type" : "Cheese Burger" }
}
```

So according to the "times_bought" property, we could show the edge in a more intense way or maybe in a different color in comparison to other edges where this "times_bought" property is of lesser value.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.