@@ -16,7 +16,7 @@ Landscape applications, and is considered to be best used for social data.
1616
1717`resource` is a pair of ship and term which is where the graph is hosted and the name of the resource. Every graph is it's own resource.
1818
19−`marked-graph` is a pair of `graph` and `(unit mark)`. The semantics of a graph are defined by the mark. This is just for validating the structure of the graph.
19+`marked-graph` is a pair of `graph` and `(unit mark)`. The semantics of a graph are defined by the mark. This is just for validating the structure of the graph.
2020
2121`graph` is a `mop`, a mold builder for order map, of an atom and a `node`.
2222
@@ -35,7 +35,6 @@ Landscape applications, and is considered to be best used for social data.
3535 ==
3636```
3737
38−
3938Most of these elements are self explanatory.
4039
4140`contents` is a `list` of `content` where `content` is a tagged union of text, url, code, or reference. This is where the contents of a publish post or an entry from links would be stored.
@@ -84,76 +83,76 @@ Below is an excerpt of `sur/graph-store.hoon` at the time of writing, showing th
8483 ==
8584```
8685
87−
8886## Pokes
8987
9088Graph Store can be poked with a `graph-update`, which can:
91− - add and remove a graph
92−
93− `[%add-graph =resource =graph mark=(unit mark)]`
94−
95− `[%remove-graph =resource]`
96−
97− - add and remove a node to a graph
98−
99− `[%add-nodes =resource nodes=(map index node)]`
100−
101− `[%remove-nodes =resource indices=(set index)]`
102−
103− - add and remove signatures
104−
105− `[%add-signatures =uid =signatures]`
106−
107− `[%remove-signatures =uid =signatures]`
108−
109− - add and remove tags
110−
111− `[%add-tag =term =resource]`
112−
113− `[%remove-tag =term =resource]`
114−
115− - archive and unarchive a graph
116−
117− `[%archive-graph =resource]`
118−
119− `[%unarchive-graph =resource]`
89+
90+- add and remove a graph
91+
92+`[%add-graph =resource =graph mark=(unit mark)]`
93+
94+`[%remove-graph =resource]`
95+
96+- add and remove a node to a graph
97+
98+`[%add-nodes =resource nodes=(map index node)]`
99+
100+`[%remove-nodes =resource indices=(set index)]`
101+
102+- add and remove signatures
103+
104+`[%add-signatures =uid =signatures]`
105+
106+`[%remove-signatures =uid =signatures]`
107+
108+- add and remove tags
109+
110+`[%add-tag =term =resource]`
111+
112+`[%remove-tag =term =resource]`
113+
114+- archive and unarchive a graph
115+
116+`[%archive-graph =resource]`
117+
118+`[%unarchive-graph =resource]`
120119
121120## Scries
122121
123122What follows is a summary of the scrys available in graph-store
124123
125124- Fetch keys
126− `[%x %keys ~]`
125+ `[%x %keys ~]`
127126
128127- Fetch tags
129− `[%x %tags ~]`
130−
128+ `[%x %tags ~]`
129+
131130- Fetch tag queries
132− `[%x %tag-queries ~]`
131+ `[%x %tag-queries ~]`
133132
134133- Fetch a specific graph by resource
135− `[%x %graph @ @ ~]`
136−
134+ `[%x %graph @ @ ~]`
135+
137136- Archive a specific graph by resource
138− `[%x %archive @ @ ~]`
139−
137+ `[%x %archive @ @ ~]`
138+
140139- Fetch a subset of the graph by resource and start and end indices
141− `[%x %graph-subset @ @ @ @ ~]`
140+ `[%x %graph-subset @ @ @ @ ~]`
142141
143142- Select a node from a graph by resource and index
144− `[%x %node @ @ @ *]`
145−
143+ `[%x %node @ @ @ *]`
144+
146145- Fetch a subset of the children of a node by resource, index, and start and end indices
147− `[%x %node-children-subset @ @ @ @ @ *]`
148−
146+ `[%x %node-children-subset @ @ @ @ @ *]`
147+
149148- Fetch a subset of the update log by resource and start and end indices
150− `[%x %update-log-subset @ @ @ @ ~]`
151−
149+ `[%x %update-log-subset @ @ @ @ ~]`
150+
152151- Fetch the update log by resource
153− `[%x %update-log @ @ ~]`
154−
152+ `[%x %update-log @ @ ~]`
153+
155154- Fetch the time of the last entry of the update log
156− `[%x %peek-update-log @ @ ~]`
155+ ` [%x %peek-update-log @ @ ~]`
157156
158157## Marks
159158