@yuneta/gobj-ui 7.23.92 → 7.23.93
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 +8 -1
- package/dist/gobj-ui.cjs.js +14 -0
- package/dist/gobj-ui.es.js +14 -0
- package/package.json +1 -1
- package/src/c_yui_treedb_graph.js +20 -0
package/README.md
CHANGED
|
@@ -1257,7 +1257,14 @@ a level or two, with a count on every cut.
|
|
|
1257
1257
|
their children. **`fold_page_size`** (default `24`) is how many children of
|
|
1258
1258
|
one hook are shown at a time; the rest is a **`+N` chip** at the end of the
|
|
1259
1259
|
page that opens the next one. Both are attrs of `C_YUI_TREEDB_GRAPH`,
|
|
1260
|
-
forwarded to the engine.
|
|
1260
|
+
forwarded to the engine — and since `7.23.93` so are the seven the engine
|
|
1261
|
+
had always had and no host could reach, because this view is what creates
|
|
1262
|
+
the engine and an option it does not forward is an option that does not
|
|
1263
|
+
exist: **`minimap_min_nodes`** (default `30`), **`with_gridline`**,
|
|
1264
|
+
**`with_fullscreen`**, **`with_toolbar`**, **`toolbar_position`**
|
|
1265
|
+
(`right-top`), **`confirm_delete_node`** and **`confirm_unlink_edge`**. The
|
|
1266
|
+
defaults repeat the engine's, so a host that says nothing gets what it got
|
|
1267
|
+
before.
|
|
1261
1268
|
- **A pill per hook on the card** — `▸ devices 142` folded, `▾ devices 24/142`
|
|
1262
1269
|
open on a page — in the colour of the child topic, the same colour its hook
|
|
1263
1270
|
port wears. Tapping it opens or folds that hook, and the card stays where it
|
package/dist/gobj-ui.cjs.js
CHANGED
|
@@ -61886,6 +61886,13 @@ var attrs_table$3 = [
|
|
|
61886
61886
|
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_BOOLEAN, "with_treedb_tables", 0, false, "Include treedb tables"),
|
|
61887
61887
|
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_INTEGER, "expand_depth", 0, 2, "Levels of the treedb open when it loads: 1 = the roots alone, 2 = the roots and their children. Forwarded to the G6 child"),
|
|
61888
61888
|
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_INTEGER, "fold_page_size", 0, 24, "Children of one hook shown per page in the graph; a `+N` chip opens the next page. Forwarded to the G6 child"),
|
|
61889
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_INTEGER, "minimap_min_nodes", 0, 30, "Show the minimap from this many nodes on (0 = never). Forwarded to the G6 child"),
|
|
61890
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_BOOLEAN, "with_gridline", 0, true, "Draw the grid under the graph. Forwarded to the G6 child"),
|
|
61891
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_BOOLEAN, "with_fullscreen", 0, true, "Offer the full-screen button. Forwarded to the G6 child"),
|
|
61892
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_BOOLEAN, "with_toolbar", 0, true, "Float the camera toolbar over the canvas. Forwarded to the G6 child"),
|
|
61893
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_STRING, "toolbar_position", 0, "right-top", "Where that toolbar floats: top-left, top-right, bottom-left, bottom-right, left-top, right-top. Forwarded to the G6 child"),
|
|
61894
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_BOOLEAN, "confirm_delete_node", 0, true, "Ask before deleting a node. Forwarded to the G6 child"),
|
|
61895
|
+
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_BOOLEAN, "confirm_unlink_edge", 0, true, "Ask before unlinking an edge. Forwarded to the G6 child"),
|
|
61889
61896
|
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_STRING, "operation_mode", _yuneta_gobj_js.sdata_flag_t.SDF_PERSIST, "reading", "Current operation mode (internal behaviour or role). Changed by the user trough the gui."),
|
|
61890
61897
|
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_STRING, "layout", _yuneta_gobj_js.sdata_flag_t.SDF_PERSIST, "", "Current graph layout. User preference. Changed by the user through the gui."),
|
|
61891
61898
|
(0, _yuneta_gobj_js.SDATA)(_yuneta_gobj_js.data_type_t.DTP_LIST, "hidden_topics", _yuneta_gobj_js.sdata_flag_t.SDF_PERSIST, "[]", "Topics hidden from the graph (legend). User preference, per treedb"),
|
|
@@ -61969,6 +61976,13 @@ function mt_create$3(gobj) {
|
|
|
61969
61976
|
fkey_port_position: "top",
|
|
61970
61977
|
expand_depth: (0, _yuneta_gobj_js.gobj_read_integer_attr)(gobj, "expand_depth"),
|
|
61971
61978
|
fold_page_size: (0, _yuneta_gobj_js.gobj_read_integer_attr)(gobj, "fold_page_size"),
|
|
61979
|
+
minimap_min_nodes: (0, _yuneta_gobj_js.gobj_read_integer_attr)(gobj, "minimap_min_nodes"),
|
|
61980
|
+
with_gridline: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "with_gridline"),
|
|
61981
|
+
with_fullscreen: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "with_fullscreen"),
|
|
61982
|
+
with_toolbar: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "with_toolbar"),
|
|
61983
|
+
toolbar_position: (0, _yuneta_gobj_js.gobj_read_str_attr)(gobj, "toolbar_position"),
|
|
61984
|
+
confirm_delete_node: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "confirm_delete_node"),
|
|
61985
|
+
confirm_unlink_edge: (0, _yuneta_gobj_js.gobj_read_bool_attr)(gobj, "confirm_unlink_edge"),
|
|
61972
61986
|
hidden_topics: (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "hidden_topics") || [],
|
|
61973
61987
|
main_topic: (0, _yuneta_gobj_js.gobj_read_str_attr)(gobj, "main_topic") || "",
|
|
61974
61988
|
loose_topics: (0, _yuneta_gobj_js.gobj_read_attr)(gobj, "loose_topics") || [],
|
package/dist/gobj-ui.es.js
CHANGED
|
@@ -61881,6 +61881,13 @@ var attrs_table$3 = [
|
|
|
61881
61881
|
SDATA(data_type_t.DTP_BOOLEAN, "with_treedb_tables", 0, false, "Include treedb tables"),
|
|
61882
61882
|
SDATA(data_type_t.DTP_INTEGER, "expand_depth", 0, 2, "Levels of the treedb open when it loads: 1 = the roots alone, 2 = the roots and their children. Forwarded to the G6 child"),
|
|
61883
61883
|
SDATA(data_type_t.DTP_INTEGER, "fold_page_size", 0, 24, "Children of one hook shown per page in the graph; a `+N` chip opens the next page. Forwarded to the G6 child"),
|
|
61884
|
+
SDATA(data_type_t.DTP_INTEGER, "minimap_min_nodes", 0, 30, "Show the minimap from this many nodes on (0 = never). Forwarded to the G6 child"),
|
|
61885
|
+
SDATA(data_type_t.DTP_BOOLEAN, "with_gridline", 0, true, "Draw the grid under the graph. Forwarded to the G6 child"),
|
|
61886
|
+
SDATA(data_type_t.DTP_BOOLEAN, "with_fullscreen", 0, true, "Offer the full-screen button. Forwarded to the G6 child"),
|
|
61887
|
+
SDATA(data_type_t.DTP_BOOLEAN, "with_toolbar", 0, true, "Float the camera toolbar over the canvas. Forwarded to the G6 child"),
|
|
61888
|
+
SDATA(data_type_t.DTP_STRING, "toolbar_position", 0, "right-top", "Where that toolbar floats: top-left, top-right, bottom-left, bottom-right, left-top, right-top. Forwarded to the G6 child"),
|
|
61889
|
+
SDATA(data_type_t.DTP_BOOLEAN, "confirm_delete_node", 0, true, "Ask before deleting a node. Forwarded to the G6 child"),
|
|
61890
|
+
SDATA(data_type_t.DTP_BOOLEAN, "confirm_unlink_edge", 0, true, "Ask before unlinking an edge. Forwarded to the G6 child"),
|
|
61884
61891
|
SDATA(data_type_t.DTP_STRING, "operation_mode", sdata_flag_t.SDF_PERSIST, "reading", "Current operation mode (internal behaviour or role). Changed by the user trough the gui."),
|
|
61885
61892
|
SDATA(data_type_t.DTP_STRING, "layout", sdata_flag_t.SDF_PERSIST, "", "Current graph layout. User preference. Changed by the user through the gui."),
|
|
61886
61893
|
SDATA(data_type_t.DTP_LIST, "hidden_topics", sdata_flag_t.SDF_PERSIST, "[]", "Topics hidden from the graph (legend). User preference, per treedb"),
|
|
@@ -61964,6 +61971,13 @@ function mt_create$3(gobj) {
|
|
|
61964
61971
|
fkey_port_position: "top",
|
|
61965
61972
|
expand_depth: gobj_read_integer_attr(gobj, "expand_depth"),
|
|
61966
61973
|
fold_page_size: gobj_read_integer_attr(gobj, "fold_page_size"),
|
|
61974
|
+
minimap_min_nodes: gobj_read_integer_attr(gobj, "minimap_min_nodes"),
|
|
61975
|
+
with_gridline: gobj_read_bool_attr(gobj, "with_gridline"),
|
|
61976
|
+
with_fullscreen: gobj_read_bool_attr(gobj, "with_fullscreen"),
|
|
61977
|
+
with_toolbar: gobj_read_bool_attr(gobj, "with_toolbar"),
|
|
61978
|
+
toolbar_position: gobj_read_str_attr(gobj, "toolbar_position"),
|
|
61979
|
+
confirm_delete_node: gobj_read_bool_attr(gobj, "confirm_delete_node"),
|
|
61980
|
+
confirm_unlink_edge: gobj_read_bool_attr(gobj, "confirm_unlink_edge"),
|
|
61967
61981
|
hidden_topics: gobj_read_attr(gobj, "hidden_topics") || [],
|
|
61968
61982
|
main_topic: gobj_read_str_attr(gobj, "main_topic") || "",
|
|
61969
61983
|
loose_topics: gobj_read_attr(gobj, "loose_topics") || [],
|
package/package.json
CHANGED
|
@@ -115,6 +115,19 @@ SDATA(data_type_t.DTP_BOOLEAN, "with_treedb_tables",0, false, "Include treedb
|
|
|
115
115
|
SDATA(data_type_t.DTP_INTEGER, "expand_depth", 0, 2, "Levels of the treedb open when it loads: 1 = the roots alone, 2 = the roots and their children. Forwarded to the G6 child"),
|
|
116
116
|
SDATA(data_type_t.DTP_INTEGER, "fold_page_size", 0, 24, "Children of one hook shown per page in the graph; a `+N` chip opens the next page. Forwarded to the G6 child"),
|
|
117
117
|
|
|
118
|
+
/*---------------- Forwarded to the G6 child (its own defaults) ----------------*/
|
|
119
|
+
/* Options the ENGINE has always had and no host could reach: this view
|
|
120
|
+
* creates the child, so an option it does not forward is an option that
|
|
121
|
+
* does not exist. The defaults repeat the child's -- a host that says
|
|
122
|
+
* nothing gets exactly what it got before. */
|
|
123
|
+
SDATA(data_type_t.DTP_INTEGER, "minimap_min_nodes", 0, 30, "Show the minimap from this many nodes on (0 = never). Forwarded to the G6 child"),
|
|
124
|
+
SDATA(data_type_t.DTP_BOOLEAN, "with_gridline", 0, true, "Draw the grid under the graph. Forwarded to the G6 child"),
|
|
125
|
+
SDATA(data_type_t.DTP_BOOLEAN, "with_fullscreen", 0, true, "Offer the full-screen button. Forwarded to the G6 child"),
|
|
126
|
+
SDATA(data_type_t.DTP_BOOLEAN, "with_toolbar", 0, true, "Float the camera toolbar over the canvas. Forwarded to the G6 child"),
|
|
127
|
+
SDATA(data_type_t.DTP_STRING, "toolbar_position", 0, "right-top", "Where that toolbar floats: top-left, top-right, bottom-left, bottom-right, left-top, right-top. Forwarded to the G6 child"),
|
|
128
|
+
SDATA(data_type_t.DTP_BOOLEAN, "confirm_delete_node", 0, true, "Ask before deleting a node. Forwarded to the G6 child"),
|
|
129
|
+
SDATA(data_type_t.DTP_BOOLEAN, "confirm_unlink_edge", 0, true, "Ask before unlinking an edge. Forwarded to the G6 child"),
|
|
130
|
+
|
|
118
131
|
/*---------------- User last selections ----------------*/
|
|
119
132
|
SDATA(data_type_t.DTP_STRING, "operation_mode", sdata_flag_t.SDF_PERSIST, "reading", "Current operation mode (internal behaviour or role). Changed by the user trough the gui."),
|
|
120
133
|
SDATA(data_type_t.DTP_STRING, "layout", sdata_flag_t.SDF_PERSIST, "", "Current graph layout. User preference. Changed by the user through the gui."),
|
|
@@ -256,6 +269,13 @@ function mt_create(gobj)
|
|
|
256
269
|
fkey_port_position: "top",
|
|
257
270
|
expand_depth: gobj_read_integer_attr(gobj, "expand_depth"),
|
|
258
271
|
fold_page_size: gobj_read_integer_attr(gobj, "fold_page_size"),
|
|
272
|
+
minimap_min_nodes: gobj_read_integer_attr(gobj, "minimap_min_nodes"),
|
|
273
|
+
with_gridline: gobj_read_bool_attr(gobj, "with_gridline"),
|
|
274
|
+
with_fullscreen: gobj_read_bool_attr(gobj, "with_fullscreen"),
|
|
275
|
+
with_toolbar: gobj_read_bool_attr(gobj, "with_toolbar"),
|
|
276
|
+
toolbar_position: gobj_read_str_attr(gobj, "toolbar_position"),
|
|
277
|
+
confirm_delete_node: gobj_read_bool_attr(gobj, "confirm_delete_node"),
|
|
278
|
+
confirm_unlink_edge: gobj_read_bool_attr(gobj, "confirm_unlink_edge"),
|
|
259
279
|
hidden_topics: gobj_read_attr(gobj, "hidden_topics") || [],
|
|
260
280
|
main_topic: gobj_read_str_attr(gobj, "main_topic") || "",
|
|
261
281
|
loose_topics: gobj_read_attr(gobj, "loose_topics") || [],
|