Initial commit for AAI-UI(sparky-backend)
[aai/sparky-be.git] / VIEW_INSPECT.MD
diff --git a/VIEW_INSPECT.MD b/VIEW_INSPECT.MD
new file mode 100644 (file)
index 0000000..fcd2cf9
--- /dev/null
@@ -0,0 +1,27 @@
+# Sparky - Inventory UI Service\r
+\r
+### _View & Inspect_ Overview\r
+\r
+_View & Inspect_ provides a graph based view of elements within AAI. A single entity is the entry point into each graph, and from that base element a graph is generated based off relationships. \r
+\r
+### Navigation to _View & Inspect_\r
+\r
+The _View & Inspect_ view can be reached by two means:\r
+\r
+1. Main navigation menu\r
+2. Selecting a search result related to an entity instance (e.g. an entity called readme-entity)\r
+\r
+### Using _View & Inspect_\r
+\r
+_View & Inspect_ is driven by using the search bar at the top of the UI to find and select entity instances. Once an instance has been slected, a request is proccessed in _Sparky's_ backend component that generates a graph representation of the selected entity. The graph data is returned to _View & Inspect_ and rendered on screen.\r
+\r
+#### Node Details\r
+\r
+Upon node selection, the selected graph node details will appear in a panel to the right of the graph titled, _Node Details_.\r
+\r
+### Interacting with the Graph\r
+\r
+The graph can be panned by clicking and holding empty space amongst the graph and moving the mouse. This will pan the entire graph.\r
+The graph can be zoomed in and out by using a mouse scroll wheel.\r
+Nodes in the graph can be select by clicking on them.\r
+Nodes in the graph can be moved by clicking, holding, and dragging them using the mouse.
\ No newline at end of file