We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d32e03 + 9cf2542 commit efad4e4Copy full SHA for efad4e4
src/data_visualization/aog/datomframes.clj
@@ -67,8 +67,8 @@ penguin-db
67
(for [[x y color] results]
68
[:circle {:r 2, :cx x, :cy y
69
:fill (get color-map color "gray")}]))
70
- :line (for [[x1 y1 x2 y2] results]
71
- [:line {:x1 x1, :y1 y1, :x2 x2, :y2 y2}])))))
+ :connect (for [[x1 y1 x2 y2] results]
+ [:line {:x1 x1, :y1 y1, :x2 x2, :y2 y2}])))))
72
73
;; To specify a plot, we provide a query
74
@@ -107,7 +107,7 @@ penguin-db
107
[?e1 :bill_depth ?y1]
108
[?e2 :bill_length ?x2]
109
[?e2 :bill_depth ?y2]]}
110
- :geometry [:line]}])
+ :geometry [:connect]}])
111
112
;; This small example shows that the mapping lives in the query.
113
;; Queries can bind points and relationships between entities.
0 commit comments