@yuneta/gobj-ui 7.31.1 → 7.31.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/dist/gobj-ui.cjs.js +343 -39
- package/dist/gobj-ui.es.js +337 -33
- package/package.json +1 -1
- package/src/c_g6_nodes_tree.js +121 -4
- package/src/c_yui_gobj_tree_js.js +1 -1
- package/src/c_yui_treedb_graph.js +1 -1
- package/src/c_yui_treedb_schema.js +262 -9
- package/src/g6_nodes_tree_focus.wiring.test.js +55 -0
- package/src/treedb_schema_lit_edge.wiring.test.js +225 -0
package/README.md
CHANGED
|
@@ -2099,7 +2099,7 @@ a level or two, with a count on every cut.
|
|
|
2099
2099
|
forwarded to the engine — and since `7.23.93` so are the seven the engine
|
|
2100
2100
|
had always had and no host could reach, because this view is what creates
|
|
2101
2101
|
the engine and an option it does not forward is an option that does not
|
|
2102
|
-
exist: **`minimap_min_nodes`** (default `30`), **`with_gridline`**,
|
|
2102
|
+
exist: **`minimap_min_nodes`** (default `10` since `7.31.2`, `30` before), **`with_gridline`**,
|
|
2103
2103
|
**`with_fullscreen`**, **`with_toolbar`**, **`toolbar_position`**
|
|
2104
2104
|
(`right-top`), **`confirm_delete_node`** and **`confirm_unlink_edge`**. The
|
|
2105
2105
|
defaults repeat the engine's, so a host that says nothing gets what it got
|
|
@@ -2619,6 +2619,17 @@ treedb is a graph" rule applied to the schema itself, and an alternate landing
|
|
|
2619
2619
|
to the topic cards. A node click opens that topic's table through a real hash
|
|
2620
2620
|
navigation, so the graph is a navigation surface rather than a picture.
|
|
2621
2621
|
|
|
2622
|
+
**A click on an edge lights it** (`7.31.2`): the line in amber, its two cards
|
|
2623
|
+
ringed with it and the two rows it joins -- the hook of the parent and the fkey
|
|
2624
|
+
of the child -- washed, so a line says which two fields it ties. A second click
|
|
2625
|
+
on the same edge, or a click on the canvas, puts it out. The treedb graph
|
|
2626
|
+
(`C_G6_NODES_TREE`) lights an edge and its two records the same way, except in
|
|
2627
|
+
`edition`, where a click selects the edge. In both graphs an edge takes a
|
|
2628
|
+
click some 7px either side of its line (`increasedLineWidthForHitTesting: 14`,
|
|
2629
|
+
`7.31.3`; G6's default adds 2px to a line drawn 2px wide). And the drawing always carries a
|
|
2630
|
+
**minimap** (bottom left, the library's `yui_graph_minimap.js`), because a
|
|
2631
|
+
schema of more cards than the screen holds is the usual case.
|
|
2632
|
+
|
|
2622
2633
|
The marks are the notation of those `.c` literals, so the drawing and the
|
|
2623
2634
|
source read the same:
|
|
2624
2635
|
|