mol_plot_all 1.2.534 → 1.2.535

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/node.view.tree CHANGED
@@ -332,24 +332,6 @@ $mol_svg_rect $mol_svg
332
332
  x <= pos_x \
333
333
  y <= pos_y \
334
334
 
335
- $mol_svg_text_box $mol_svg_group
336
- font_size 16
337
- width 0
338
- sub /
339
- <= Back $mol_svg_rect
340
- width <= box_width \0.5rem
341
- height <= box_height \1rem
342
- pos /
343
- <= box_pos_x <= pos_x
344
- <= box_pos_y \0
345
- <= Text $mol_svg_text
346
- pos /
347
- <= pos_x \0
348
- <= pos_y \100%
349
- align <= align \start
350
- sub /
351
- <= text \
352
-
353
335
  $mol_plot_ruler $mol_plot_graph
354
336
  step 0
355
337
  scale_axis 1
@@ -373,7 +355,7 @@ $mol_plot_ruler $mol_plot_graph
373
355
  <= Curve $mol_svg_path
374
356
  geometry <= curve \
375
357
  <= labels_formatted /
376
- <= Title $mol_svg_text_box
358
+ <= Title $mol_svg_text
377
359
  pos_x <= title_pos_x \0
378
360
  pos_y <= title_pos_y \100%
379
361
  align <= title_align \start
@@ -401,6 +383,24 @@ $mol_plot_ruler_hor $mol_plot_ruler
401
383
  label_pos_y* <= title_pos_y
402
384
  background_width \100%
403
385
 
386
+ $mol_svg_text_box $mol_svg_group
387
+ font_size 16
388
+ width 0
389
+ sub /
390
+ <= Back $mol_svg_rect
391
+ width <= box_width \0.5rem
392
+ height <= box_height \1rem
393
+ pos /
394
+ <= box_pos_x <= pos_x
395
+ <= box_pos_y \0
396
+ <= Text $mol_svg_text
397
+ pos /
398
+ <= pos_x \0
399
+ <= pos_y \100%
400
+ align <= align \start
401
+ sub /
402
+ <= text \
403
+
404
404
  $mol_plot_mark_cross $mol_plot_graph
405
405
  labels /string
406
406
  title_x_gap 4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mol_plot_all",
3
- "version": "1.2.534",
3
+ "version": "1.2.535",
4
4
  "exports": {
5
5
  "node": {
6
6
  "import": "./node.mjs",
@@ -118,16 +118,16 @@
118
118
  "$mol_plot_ruler",
119
119
  "$mol_svg_text",
120
120
  "$mol_svg_rect",
121
- "$mol_svg_text_box",
122
- "$mol_font_measure",
123
- "$mol_font",
124
- "$mol_font_canvas",
125
121
  "$mol_math_round_expand",
126
122
  "$mol_math_round",
127
123
  "$mol_math",
128
124
  "$mol_plot_ruler_hor",
129
125
  "$mol_plot_mark_cross",
130
126
  "$mol_plot_mark",
127
+ "$mol_svg_text_box",
128
+ "$mol_font_measure",
129
+ "$mol_font",
130
+ "$mol_font_canvas",
131
131
  "$mol_plot_mark_hor"
132
132
  ],
133
133
  "dependencies": {
package/web.d.ts CHANGED
@@ -1202,44 +1202,6 @@ declare namespace $.$$ {
1202
1202
  }
1203
1203
  }
1204
1204
 
1205
- declare namespace $ {
1206
- class $mol_svg_text_box extends $mol_svg_group {
1207
- font_size(): number;
1208
- width(): number;
1209
- sub(): readonly any[];
1210
- box_width(): string;
1211
- box_height(): string;
1212
- box_pos_x(): string;
1213
- box_pos_y(): string;
1214
- Back(): $$.$mol_svg_rect;
1215
- pos_x(): string;
1216
- pos_y(): string;
1217
- align(): string;
1218
- text(): string;
1219
- Text(): $$.$mol_svg_text;
1220
- }
1221
- }
1222
-
1223
- declare namespace $ {
1224
- function $mol_font_canvas(next?: CanvasRenderingContext2D): CanvasRenderingContext2D;
1225
- }
1226
-
1227
- declare namespace $ {
1228
- function $mol_font_measure(font: string, text: string): number;
1229
- }
1230
-
1231
- declare namespace $.$$ {
1232
- class $mol_svg_text_box extends $.$mol_svg_text_box {
1233
- box_width(): string;
1234
- width(): number;
1235
- box_pos_x(): string;
1236
- box_pos_y(): string;
1237
- }
1238
- }
1239
-
1240
- declare namespace $ {
1241
- }
1242
-
1243
1205
  declare namespace $ {
1244
1206
  class $mol_plot_ruler extends $mol_plot_graph {
1245
1207
  step(): number;
@@ -1264,7 +1226,7 @@ declare namespace $ {
1264
1226
  title_pos_x(): string;
1265
1227
  title_pos_y(): string;
1266
1228
  title_align(): string;
1267
- Title(): $$.$mol_svg_text_box;
1229
+ Title(): $$.$mol_svg_text;
1268
1230
  label_pos_x(id: any): string;
1269
1231
  label_pos_y(id: any): string;
1270
1232
  label_pos(id: any): readonly any[];
@@ -1350,6 +1312,44 @@ declare namespace $.$$ {
1350
1312
  declare namespace $ {
1351
1313
  }
1352
1314
 
1315
+ declare namespace $ {
1316
+ class $mol_svg_text_box extends $mol_svg_group {
1317
+ font_size(): number;
1318
+ width(): number;
1319
+ sub(): readonly any[];
1320
+ box_width(): string;
1321
+ box_height(): string;
1322
+ box_pos_x(): string;
1323
+ box_pos_y(): string;
1324
+ Back(): $$.$mol_svg_rect;
1325
+ pos_x(): string;
1326
+ pos_y(): string;
1327
+ align(): string;
1328
+ text(): string;
1329
+ Text(): $$.$mol_svg_text;
1330
+ }
1331
+ }
1332
+
1333
+ declare namespace $ {
1334
+ function $mol_font_canvas(next?: CanvasRenderingContext2D): CanvasRenderingContext2D;
1335
+ }
1336
+
1337
+ declare namespace $ {
1338
+ function $mol_font_measure(font: string, text: string): number;
1339
+ }
1340
+
1341
+ declare namespace $.$$ {
1342
+ class $mol_svg_text_box extends $.$mol_svg_text_box {
1343
+ box_width(): string;
1344
+ width(): number;
1345
+ box_pos_x(): string;
1346
+ box_pos_y(): string;
1347
+ }
1348
+ }
1349
+
1350
+ declare namespace $ {
1351
+ }
1352
+
1353
1353
  declare namespace $ {
1354
1354
  class $mol_plot_mark_cross extends $mol_plot_graph {
1355
1355
  labels(): readonly string[];