官术网_书友最值得收藏!

Chapter 1. Graphs Are Everywhere

Graphs are all around us. Each time we access the Internet, the data packets travel across a network of routers, switches, and cables and deliver what we have requested. While representing key concepts/objects in a problem and defining relationships or interactions between the concepts/objects involved, we generally draw bubbles or boxes to denote the objects, and arrows between those objects to represent the interactions or relationships. We use a similar notation while drawing a map to explain routes to others. The beauty of these notations, such as bubbles and arrows, is their expressiveness, a property that is usually lost when we obfuscate the model into records and tables. Graphs allow us to discover information and ease the modeling pain, which eventually makes our life smoother. To be able to use graphs better, we will need to understand a few basic concepts related to a graph database. In this chapter, we will explore the following:

  • Graphs in mathematics
  • The property graph model
  • Reasons for using a graph database
  • Usage of graphs—some obvious and some not-so-obvious graph problems
  • Advantages of using Neo4j

We chose Neo4j to explain graph data modeling in this book. However, the modeling concepts discussed here will apply to any graph database.

A few readers might be experienced Neo4j users and if you fall into this category, you might want to skip this chapter. However, if you are new to Neo4j or want a brief refresher, please carry on.

主站蜘蛛池模板: 蒙阴县| 喀什市| 玉溪市| 潮州市| 临城县| 湖北省| 达州市| 克山县| 广宁县| 阜平县| 湛江市| 岳池县| 儋州市| 湟中县| 延安市| 乐平市| 庆元县| 锦州市| 金乡县| 永昌县| 盐津县| 冕宁县| 鄢陵县| 武夷山市| 闸北区| 布尔津县| 皋兰县| 汕头市| 庐江县| 尚义县| 巴林右旗| 肃北| 修文县| 长兴县| 大宁县| 华宁县| 通河县| 巴塘县| 鄢陵县| 依安县| 林州市|