Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions modules/ROOT/images/import-data-chart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion modules/ROOT/images/import-data-charts.svg

This file was deleted.

20 changes: 20 additions & 0 deletions modules/ROOT/images/relational-graph-model-arr.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions modules/ROOT/images/relational_graph_model-arr.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ In the above relational example, we search the Person table on the left (potenti
Now we know that Alice is part of the 4Future, P0815, and A42 departments.

.Graph - Alice and three departments as nodes
image::relational_graph_model-arr.svg[role="popup-link",width=350]
image::relational-graph-model-arr.svg[role="popup-link",width=350]

In the above graph version, we have a single node for Alice with a label of Person.
Alice belongs to 3 different departments, so we create a node for each one and with a label of Department.
Expand Down Expand Up @@ -163,4 +163,4 @@ For more information, you can visit our pages for https://neo4j.com/developer/la
== Resources
* https://neo4j.com/resources/rdbms-developer-graph-white-paper/[Free eBook: Relational to Graph^]
* https://dzone.com/refcardz/from-relational-to-graph-a-developers-guide[DZone Refcard: From Relational to Graph^]
* https://neo4j.com/developer/data-modeling/[Data Modeling: Relational to Graph]
* https://neo4j.com/developer/data-modeling/[Data Modeling: Relational to Graph]
2 changes: 1 addition & 1 deletion modules/ROOT/pages/data-import/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
Neo4j provides different tools for link:https://www.neo4j.com/docs/import[importing] data stored in various formats, e.g. .csv, .tsv, and .json.
Depending on the kind of data you are working with, there are different options to choose from, as shown in the diagram:

image::import-data-charts.svg[Decision chart with options to import data to Neo4j,width=600,role=popup]
image:import-data-chart.svg[Decision chart with options to import data to Neo4j,opts=interactive]

[TIP]
====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The steps to help you with the transformation of a relational diagram are listed
If you apply the items in the list above to our example finding Alice's departments, we can come to a graph like the one shown below.

.Graph - Alice and three departments as nodes
image::relational_graph_model-arr.svg[role="popup-link",width=350]
image::relational-graph-model-arr.svg[role="popup-link",width=350]

Though the two models have similarities such as categorizing data by using either a table structure or a label, the graph model does not confine data to a pre-defined and strict table/column layout.
We will look at another example in the next section.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/data-modeling/versioning.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Versioning
:description: See what options of graph data model versioning are commonly used in combination with Neo4j.

Every time you xref:data-modeling/graph-model-refactoring.adoc[refactor] your data model, you create new versions of it.
Every time you xref:data-modeling/tutorial-refactoring.adoc[refactor] your data model, you create new versions of it.
Tracking changes in the data structure or showing a current and past value can be valuable for auditing purposes, trend analysis, etc.
This page gives an overview of the different ways you could model data in order to keep track of changes over time.

Expand Down