Comments (2)
Yes you would use .traverse()
as follows
framedGraph.traverse(
(GraphTraversalSource g) -> g.V().order().by("name")
).toList(YourVertex.class);
Note that you do not have to add GraphTraversalSource
in a lambda expression, but I added this for clarity. This is a Tinkerpop class and to see the abilities like sorting you should check out the the Tinkerpop documentation: http://tinkerpop.apache.org/docs/3.3.2/reference/
The traverse function is a way to access the graph traversal build in, into Tinkerpop and gives the ability to frame the vertexes and edges to your own classes
from ferma.
@killje Thanks for your help on this. Reach out to me anytime if you'd like to get more involved into the project. Either way, appreciate you responding on this one.
from ferma.
Related Issues (20)
- Remove .gitreview
- Update license header
- [BOUNTY $50] Create a Ferma-examples project HOT 11
- Allow @GraphElement to take a value HOT 9
- Support pluggable classloaders for AnnotationFrameFactory HOT 5
- Frames should use traversals to manipulate the graph HOT 1
- Strange behavior of class casting. HOT 3
- Feature request: Adding label to a vertex HOT 1
- Client driver version on ferma 3 HOT 4
- How to handle detached elements with Ferma? HOT 7
- project status HOT 2
- @Property on member variable instead of getter/setter HOT 1
- AWS Neptune Support? HOT 9
- Change Vertex Label HOT 1
- Not persisting to JanusGraph HOT 8
- Ability to add keyValues on Edge and Vertex Creation HOT 1
- Ability to add labels on Vertex HOT 4
- Dependency reflections 0.9.12 doesn't add scanners on empty urls HOT 1
- kind.newInstance() deprecated since Java 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ferma.