@jbrowse/bandage-core 4.4.1 → 4.5.0
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.
|
@@ -5583,8 +5583,8 @@ function walkStripLabelsTree(bars, frame, bold = /* @__PURE__ */ new Set()) {
|
|
|
5583
5583
|
)
|
|
5584
5584
|
);
|
|
5585
5585
|
}
|
|
5586
|
-
function stripGeneGaps(frame,
|
|
5587
|
-
if (
|
|
5586
|
+
function stripGeneGaps(frame, rowGenes, gaps) {
|
|
5587
|
+
if (!rowGenes?.size) {
|
|
5588
5588
|
return void 0;
|
|
5589
5589
|
}
|
|
5590
5590
|
return frame.boxesGenes ? gaps : { untracked: 0, unread: 0, ...gaps, crowded: true };
|
|
@@ -5703,7 +5703,7 @@ function svgCanvas(width, height) {
|
|
|
5703
5703
|
}
|
|
5704
5704
|
|
|
5705
5705
|
// src/version.ts
|
|
5706
|
-
var version = "4.
|
|
5706
|
+
var version = "4.5.0";
|
|
5707
5707
|
|
|
5708
5708
|
// src/viewport.ts
|
|
5709
5709
|
function axisScaleOf(scale, pixelRows) {
|
|
@@ -6044,7 +6044,7 @@ function figureSvg(graph, layout, o = {}) {
|
|
|
6044
6044
|
const key = walkRowsKeyTree(
|
|
6045
6045
|
walkRowsKey(strip.rows, {
|
|
6046
6046
|
ramp: rampInterval,
|
|
6047
|
-
genes: stripGeneGaps(frame, strip.
|
|
6047
|
+
genes: stripGeneGaps(frame, strip.rowGenes, strip.rowGeneGaps)
|
|
6048
6048
|
}),
|
|
6049
6049
|
6,
|
|
6050
6050
|
height + frame.height
|
package/dist/cli/figure.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -29,4 +29,4 @@ export declare function stripRowAt(bars: WalkRows, frame: StripFrame, x: number,
|
|
|
29
29
|
} | undefined;
|
|
30
30
|
export declare function walkMarksTree(bars: WalkRows, frame: StripFrame, marks: StripMark[]): import("../index.js").El;
|
|
31
31
|
export declare function walkStripLabelsTree(bars: WalkRows, frame: StripFrame, bold?: ReadonlySet<string>): import("../index.js").El;
|
|
32
|
-
export declare function stripGeneGaps(frame: StripFrame,
|
|
32
|
+
export declare function stripGeneGaps(frame: StripFrame, rowGenes: Map<string, RowGene[]> | undefined, gaps: GeneGaps | undefined): GeneGaps | undefined;
|
|
@@ -46,5 +46,6 @@ export interface Renderer {
|
|
|
46
46
|
setEdgeHighlight(edgeIndex: number | null, factor: number): void;
|
|
47
47
|
updateTransform(transform: TransformUniform): void;
|
|
48
48
|
render(clearColor: [number, number, number, number]): void;
|
|
49
|
+
releaseOffscreenTargets(): void;
|
|
49
50
|
dispose(): void;
|
|
50
51
|
}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.
|
|
1
|
+
export declare const version = "4.5.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/bandage-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
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": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@gmod/gbz-base": "^6.0.1",
|
|
35
|
-
"@gmod/tabix": "^3.9.
|
|
35
|
+
"@gmod/tabix": "^3.9.1",
|
|
36
36
|
"@gmod/tubemap-core": "^0.1.0",
|
|
37
|
-
"@jbrowse/core": "5.0.0-beta.
|
|
38
|
-
"@jbrowse/render-core": "5.0.0-beta.
|
|
37
|
+
"@jbrowse/core": "5.0.0-beta.11",
|
|
38
|
+
"@jbrowse/render-core": "5.0.0-beta.11"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"esbuild": "^0.28.2",
|