Skip to content

Commit

Permalink
#96 CarnivalNeo4jConfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
augustearth committed Aug 18, 2022
1 parent 5890fee commit 0e5da2a
Show file tree
Hide file tree
Showing 11 changed files with 267 additions and 161 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ docs/node_modules
# might be created by tests that write files
app/carnival-core/data

# created by CarnivalNeo4jSpec
app/carnival-core/carnival-home

# scratch code
*.groovy_

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ import carnival.graph.VertexBuilder


/**
* The core graph. See the documentation for model details.
* The Carnival object.
*
* A Carnival is comprosed of three main components:
* - a Gremlin graph
* - a graph schema
* - a graph validator
*
*/
@Slf4j
Expand Down Expand Up @@ -226,7 +231,11 @@ abstract class Carnival implements GremlinTrait {
}


/** */
/**
* Create the singleton vertex for a vertex constraint for a vertex definition if
* it represents a class and has no required properties.
*
*/
public void createClassVertex(Graph graph, GraphTraversalSource g, VertexConstraint vld) {
log.trace "createClassVertex vld: ${vld.label} $vld"

Expand Down
Loading

0 comments on commit 0e5da2a

Please sign in to comment.