Studio: Improving graph rendering to split vertices and edges
See original GitHub issueCollect only the edges that are relevant to the vertices in the resultset.
Example:
{
"graph": {
"vertices": [{
"@rid": "#17:62",
"@class": "Whisky",
"name": "Springbank"
}, {
"@rid": "#17:67",
"@class": "Whisky",
"name": "Tobermory"
}, {
"@rid": "#15:3",
"@class": "FlavourGroup",
"dryness": "Medium",
"name": "D",
"description": "Low or No Peat, with Fruity, Floral, Malty Notes and Nutty Hints.",
"body": "Light"
}, {
"@rid": "#15:5",
"@class": "FlavourGroup",
"dryness": "Medium",
"name": "F",
"description": "Medium-Bodied, Medium-Sweet, Low Peat, Malty Notes and Sherry, Honey, Spicy Hints.",
"body": "Medium"
}, {
"@rid": "#12:1",
"@class": "Location",
"name": "Alexandria"
}, {
"@rid": "#17:2",
"@class": "Whisky",
"name": "Arran"
}, {
"@rid": "#12:6",
"@class": "Location",
"name": "Blackford"
}, {
"@rid": "#17:7",
"@class": "Whisky",
"name": "BenRiach"
}, {
"@rid": "#12:11",
"@class": "Location",
"name": "Dalmuir"
}, {
"@rid": "#17:12",
"@class": "Whisky",
"name": "Bruichladdich"
}, {
"@rid": "#12:16",
"@class": "Location",
"name": "Elgin"
}, {
"@rid": "#17:17",
"@class": "Whisky",
"name": "Cragganmore"
}, {
"@rid": "#12:21",
"@class": "Location",
"name": "Isle of Islay"
}, {
"@rid": "#14:3",
"@class": "Flavour",
"name": "Malt"
}, {
"@rid": "#17:22",
"@class": "Whisky",
"name": "Deanston"
}, {
"@rid": "#12:26",
"@class": "Location",
"name": "Kirkwall"
}, {
"@rid": "#14:8",
"@class": "Flavour",
"name": "Peat"
}, {
"@rid": "#17:27",
"@class": "Whisky",
"name": "Glen Grant"
}, {
"@rid": "#12:31",
"@class": "Location",
"name": "Muir of Ord"
}, {
"@rid": "#17:32",
"@class": "Whisky",
"name": "Glendronach"
}, {
"@rid": "#12:36",
"@class": "Location",
"name": "Oldmeldrum"
}, {
"@rid": "#11:4",
"@class": "Region",
"name": "Lowlands"
}, {
"@rid": "#17:37",
"@class": "Whisky",
"name": "Glenkinchie"
}, {
"@rid": "#12:41",
"@class": "Location",
"name": "Rothes"
}, {
"@rid": "#17:42",
"@class": "Whisky",
"name": "Glenturret"
}, {
"@rid": "#17:47",
"@class": "Whisky",
"name": "Knockando"
}, {
"@rid": "#17:52",
"@class": "Whisky",
"name": "Macallan"
}, {
"@rid": "#17:57",
"@class": "Whisky",
"name": "Old Pulteney"
}],
"edges": [{
"@rid": "#13:11",
"@class": "InRegion",
"from": "#11:4",
"to": "#12:11"
}, {
"@rid": "#16:30",
"@class": "FlavourInGroup",
"from": "#14:2",
"to": "#15:5"
}, {
"@rid": "#13:16",
"@class": "InRegion",
"from": "#11:5",
"to": "#12:16"
}, {
"@rid": "#16:35",
"@class": "FlavourInGroup",
"from": "#14:2",
"to": "#15:7"
}, {
"@rid": "#16:25",
"@class": "FlavourInGroup",
"from": "#14:7",
"to": "#15:4"
}]
}
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
igraph - AWS
Here we use igraph's graph.data.frame function, which takes two data frames: d and vertices. d describes the edges of the network. Its first...
Read more >A Rogue Historian - Introduction to Network Analysis with R
The entities are referred to as nodes or vertices of a graph, while the connections are edges or links. In this post I...
Read more >igraph.pdf - The Comprehensive R Archive Network
Vertices and edges have numerical vertex ids in igraph. Vertex ids are always consecutive and they start with one. I.e. for a graph...
Read more >Using Graph Studio in Oracle Autonomous Database
8 Visualize and Interact with Graph Data in Graph Studio ... A property graph consists of vertices that are linked together by edges....
Read more >Progressive Forest Split Compression
In this paper we introduce the Progressive Forest Split (PFS) repre- ... the graph of vertices and edges of the mesh, a sequence...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good question. Do you prefer I rename them as
@from
and@to
so they are metadata? Makes a lot of sense to me.Restored in/out
https://github.com/orientechnologies/orientdb/commit/4dd6e62582a229a0d985c496e410395fa1d17cd3