@jbrowse/bandage-core 7.5.0 → 7.5.1
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/dist/chunks/{chunk-GYTQK5PR.js → chunk-7ESIZZO7.js} +2 -2
- package/dist/chunks/{chunk-2PEBQ5VA.js → chunk-CNGKWYUC.js} +1 -1
- package/dist/chunks/{chunk-6SBUFFTB.js → chunk-XV4P5KEQ.js} +14 -0
- package/dist/cli/figure.js +3 -3
- package/dist/facetGrid.js +3 -1
- package/dist/figure.js +3 -3
- package/dist/index.js +5 -3
- package/dist/types/facetGrid.d.ts +9 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
} from "./chunk-RCWYY6XA.js";
|
|
43
43
|
import {
|
|
44
44
|
version
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CNGKWYUC.js";
|
|
46
46
|
import {
|
|
47
47
|
axisScaleOf
|
|
48
48
|
} from "./chunk-4UBWXZVX.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
facetCells,
|
|
87
87
|
facetGrid,
|
|
88
88
|
facetSettingOf
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-XV4P5KEQ.js";
|
|
90
90
|
import {
|
|
91
91
|
FIT_PADDING,
|
|
92
92
|
drawingBounds,
|
|
@@ -47,6 +47,19 @@ function facetGrid({
|
|
|
47
47
|
}
|
|
48
48
|
return best;
|
|
49
49
|
}
|
|
50
|
+
var FACET_FIELDS = [
|
|
51
|
+
{ value: "", label: "None", description: "Every lifted walk in one drawing" },
|
|
52
|
+
{
|
|
53
|
+
value: "walk",
|
|
54
|
+
label: "A panel per walk",
|
|
55
|
+
description: "One panel per lifted walk, side by side"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
value: "sample",
|
|
59
|
+
label: "A row per sample",
|
|
60
|
+
description: "A row per sample, a column per haplotype"
|
|
61
|
+
}
|
|
62
|
+
];
|
|
50
63
|
function facetSettingOf(facet) {
|
|
51
64
|
const raw = typeof facet === "string" ? { field: facet } : facet ?? {};
|
|
52
65
|
const field = raw.field === "walk" || raw.field === "sample" ? raw.field : "";
|
|
@@ -92,6 +105,7 @@ export {
|
|
|
92
105
|
FACET_TITLE_PX,
|
|
93
106
|
FACET_PAD_PX,
|
|
94
107
|
facetGrid,
|
|
108
|
+
FACET_FIELDS,
|
|
95
109
|
facetSettingOf,
|
|
96
110
|
facetCells
|
|
97
111
|
};
|
package/dist/cli/figure.js
CHANGED
|
@@ -35,7 +35,7 @@ import "../chunks/chunk-LYJ4US66.js";
|
|
|
35
35
|
import "../chunks/chunk-7XHHVYG7.js";
|
|
36
36
|
import {
|
|
37
37
|
figureSvg
|
|
38
|
-
} from "../chunks/chunk-
|
|
38
|
+
} from "../chunks/chunk-7ESIZZO7.js";
|
|
39
39
|
import "../chunks/chunk-LOCJN3BZ.js";
|
|
40
40
|
import "../chunks/chunk-47DYCZOK.js";
|
|
41
41
|
import "../chunks/chunk-ZYHSUNQO.js";
|
|
@@ -53,7 +53,7 @@ import "../chunks/chunk-2LQ5BWT7.js";
|
|
|
53
53
|
import "../chunks/chunk-AVJK272H.js";
|
|
54
54
|
import "../chunks/chunk-RCWYY6XA.js";
|
|
55
55
|
import "../chunks/chunk-UMNCCYBN.js";
|
|
56
|
-
import "../chunks/chunk-
|
|
56
|
+
import "../chunks/chunk-CNGKWYUC.js";
|
|
57
57
|
import "../chunks/chunk-4UBWXZVX.js";
|
|
58
58
|
import "../chunks/chunk-MP7LXLWV.js";
|
|
59
59
|
import {
|
|
@@ -75,7 +75,7 @@ import "../chunks/chunk-3ZZSX5HN.js";
|
|
|
75
75
|
import "../chunks/chunk-AB35TJST.js";
|
|
76
76
|
import "../chunks/chunk-JKJWSY4V.js";
|
|
77
77
|
import "../chunks/chunk-NNODIW4U.js";
|
|
78
|
-
import "../chunks/chunk-
|
|
78
|
+
import "../chunks/chunk-XV4P5KEQ.js";
|
|
79
79
|
import {
|
|
80
80
|
engineSettingsOf,
|
|
81
81
|
forceLayout,
|
package/dist/facetGrid.js
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
+
FACET_FIELDS,
|
|
2
3
|
FACET_GAP_PX,
|
|
3
4
|
FACET_PAD_PX,
|
|
4
5
|
FACET_TITLE_PX,
|
|
5
6
|
facetCells,
|
|
6
7
|
facetGrid,
|
|
7
8
|
facetSettingOf
|
|
8
|
-
} from "./chunks/chunk-
|
|
9
|
+
} from "./chunks/chunk-XV4P5KEQ.js";
|
|
9
10
|
export {
|
|
11
|
+
FACET_FIELDS,
|
|
10
12
|
FACET_GAP_PX,
|
|
11
13
|
FACET_PAD_PX,
|
|
12
14
|
FACET_TITLE_PX,
|
package/dist/figure.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
figureSvg
|
|
3
|
-
} from "./chunks/chunk-
|
|
3
|
+
} from "./chunks/chunk-7ESIZZO7.js";
|
|
4
4
|
import "./chunks/chunk-LOCJN3BZ.js";
|
|
5
5
|
import "./chunks/chunk-47DYCZOK.js";
|
|
6
6
|
import "./chunks/chunk-ZYHSUNQO.js";
|
|
@@ -15,7 +15,7 @@ import "./chunks/chunk-2LQ5BWT7.js";
|
|
|
15
15
|
import "./chunks/chunk-AVJK272H.js";
|
|
16
16
|
import "./chunks/chunk-RCWYY6XA.js";
|
|
17
17
|
import "./chunks/chunk-UMNCCYBN.js";
|
|
18
|
-
import "./chunks/chunk-
|
|
18
|
+
import "./chunks/chunk-CNGKWYUC.js";
|
|
19
19
|
import "./chunks/chunk-4UBWXZVX.js";
|
|
20
20
|
import "./chunks/chunk-MP7LXLWV.js";
|
|
21
21
|
import "./chunks/chunk-SZNZ2T6D.js";
|
|
@@ -30,7 +30,7 @@ import "./chunks/chunk-3ZZSX5HN.js";
|
|
|
30
30
|
import "./chunks/chunk-AB35TJST.js";
|
|
31
31
|
import "./chunks/chunk-JKJWSY4V.js";
|
|
32
32
|
import "./chunks/chunk-NNODIW4U.js";
|
|
33
|
-
import "./chunks/chunk-
|
|
33
|
+
import "./chunks/chunk-XV4P5KEQ.js";
|
|
34
34
|
import "./chunks/chunk-WZATPZNH.js";
|
|
35
35
|
import "./chunks/chunk-IGVV37VI.js";
|
|
36
36
|
import "./chunks/chunk-PUG7LXDF.js";
|
package/dist/index.js
CHANGED
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
} from "./chunks/chunk-7XHHVYG7.js";
|
|
113
113
|
import {
|
|
114
114
|
figureSvg
|
|
115
|
-
} from "./chunks/chunk-
|
|
115
|
+
} from "./chunks/chunk-7ESIZZO7.js";
|
|
116
116
|
import {
|
|
117
117
|
layoutGeometryInputs
|
|
118
118
|
} from "./chunks/chunk-LOCJN3BZ.js";
|
|
@@ -204,7 +204,7 @@ import {
|
|
|
204
204
|
import "./chunks/chunk-UMNCCYBN.js";
|
|
205
205
|
import {
|
|
206
206
|
version
|
|
207
|
-
} from "./chunks/chunk-
|
|
207
|
+
} from "./chunks/chunk-CNGKWYUC.js";
|
|
208
208
|
import {
|
|
209
209
|
axisScaleOf,
|
|
210
210
|
contains,
|
|
@@ -272,13 +272,14 @@ import {
|
|
|
272
272
|
serializeEl
|
|
273
273
|
} from "./chunks/chunk-NNODIW4U.js";
|
|
274
274
|
import {
|
|
275
|
+
FACET_FIELDS,
|
|
275
276
|
FACET_GAP_PX,
|
|
276
277
|
FACET_PAD_PX,
|
|
277
278
|
FACET_TITLE_PX,
|
|
278
279
|
facetCells,
|
|
279
280
|
facetGrid,
|
|
280
281
|
facetSettingOf
|
|
281
|
-
} from "./chunks/chunk-
|
|
282
|
+
} from "./chunks/chunk-XV4P5KEQ.js";
|
|
282
283
|
import {
|
|
283
284
|
FIGURE_DEFAULTS,
|
|
284
285
|
figureSpecSettings
|
|
@@ -331,6 +332,7 @@ export {
|
|
|
331
332
|
Canvas2DRenderer,
|
|
332
333
|
ENGINE_DEFAULTS,
|
|
333
334
|
EXON_COLOR,
|
|
335
|
+
FACET_FIELDS,
|
|
334
336
|
FACET_GAP_PX,
|
|
335
337
|
FACET_PAD_PX,
|
|
336
338
|
FACET_TITLE_PX,
|
|
@@ -33,6 +33,15 @@ export interface FacetSetting {
|
|
|
33
33
|
/** How many panels go across; unset takes whichever count draws each largest. */
|
|
34
34
|
columns?: number;
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* The fields panels can split on, as a picker lists them: '' for none, the way
|
|
38
|
+
* a JBrowse display's `facet` writes it and its Group by menu labels it.
|
|
39
|
+
*/
|
|
40
|
+
export declare const FACET_FIELDS: {
|
|
41
|
+
value: FacetSetting['field'];
|
|
42
|
+
label: string;
|
|
43
|
+
description: string;
|
|
44
|
+
}[];
|
|
36
45
|
/** What a session or a spec may write for the facet: the field bare, or the setting's members. */
|
|
37
46
|
export type FacetInput = string | {
|
|
38
47
|
field?: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export type { GbzSource } from './gbzCut.js';
|
|
|
55
55
|
export { version } from './version.js';
|
|
56
56
|
export type { FigureOptions } from './figure.js';
|
|
57
57
|
export { svgCanvas } from './renderer/svgCanvas.js';
|
|
58
|
-
export { FACET_GAP_PX, FACET_PAD_PX, FACET_TITLE_PX, facetCells, facetGrid, facetSettingOf, } from './facetGrid.js';
|
|
58
|
+
export { FACET_FIELDS, FACET_GAP_PX, FACET_PAD_PX, FACET_TITLE_PX, facetCells, facetGrid, facetSettingOf, } from './facetGrid.js';
|
|
59
59
|
export type { FacetBy, FacetGrid, FacetInput, FacetSetting } from './facetGrid.js';
|
|
60
60
|
export type { LiftedWalk, WalkLift } from './walkHighlight.js';
|
|
61
61
|
export { WALK_FIELDS, WALK_SCHEMES, encodingStops, encodingSwatchCss, resolveEncoding, schemeCss, } from './walkEncoding.js';
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "7.5.
|
|
1
|
+
export declare const version = "7.5.1";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/bandage-core",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"description": "Pangenome graph layout and drawing with no host: GFA in, the Bandage force-directed engine and reference-anchored layouts, a Canvas2D renderer, hit testing and labels out",
|
|
5
5
|
"license": "GPL-3.0-or-later",
|
|
6
6
|
"repository": {
|