Building around Cartography¶
This document shows patterns on how Cartography data fits in as part of a production system.
DB driver¶
The quickest way to build an application around the graph is to use the Neo4j database driver and send queries at it:
API¶
A more mature application will want to define a formal API around it like this:
This way, database queries are abstracted behind the questions that your users will want to ask the graph.
As part of a data pipeline¶
It can be beneficial to periodically extract graph data into data warehouses like Hive. This way you can have historical data. Hive is also easily paired with Mode for dashboards.
Other useful dashboard options¶
Neodash (video tutorial) is great for mocking up views on top of graph data and can help you build a “home-made CSPM” very quickly.