repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
phovea/phovea_core
src/multiform/internal/internal.ts
<gh_stars>1-10 /** * Created by sam on 26.12.2016. */ export * from './FormUtils'; export * from './GridElem'; export * from './ProxyMetaData';
phovea/phovea_core
dist/idtype/SelectionUtils.d.ts
/** * Created by <NAME> on 04.08.2014. */ import { Range, RangeLike } from '../range'; export declare enum SelectOperation { SET = 0, ADD = 1, REMOVE = 2 } export declare class SelectionUtils { static defaultSelectionType: string; static hoverSelectionType: string; /** * converts the give...
phovea/phovea_core
src/vis/visInstance.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
dist/2D/IIntersectionParam.d.ts
export interface IIntersectionParam { readonly name: string; readonly params: any[]; } export declare class IntersectionParamUtils { static createIntersectionParam(name: string, params: any[]): IIntersectionParam; }
phovea/phovea_core
tests/range/internal/RangeElem.test.ts
<gh_stars>1-10 /** * Created by <NAME> on 07.03.2017. */ /// <reference types="jest" /> import {RangeElem} from '../../../src/range/internal/RangeElem'; describe('RangeElem', () => { describe('from', () => { it('default', () => expect(new RangeElem(0).from).toBe(0)); it('set value', () => expect(new RangeE...
phovea/phovea_core
dist/data/datatype.d.ts
/** * Created by <NAME> on 04.08.2014. * * This file defines interfaces for various data types and their metadata. */ import { IPersistable } from '../base/IPersistable'; import { IDType } from '../idtype/IDType'; import { ISelectAble, ASelectAble } from '../idtype/ASelectAble'; import { IHistogram } from './histog...
phovea/phovea_core
dist/geom/Rect.d.ts
/** * Created by <NAME> on 27.12.2016. */ import { Vector2D } from '../2D/Vector2D'; import { IIntersectionParam } from '../2D/IIntersectionParam'; import { IRect } from './IRect'; import { AShape } from './AShape'; /** * a simple bounding rect */ export declare class Rect extends AShape implements IRect { x: n...
phovea/phovea_core
dist/idtype/IDTypeManager.d.ts
/** * Created by sam on 26.12.2016. */ import { IIDType } from './IIDType'; import { IDType, IDTypeLike } from './IDType'; import { ProductIDType } from './ProductIDType'; import { RangeLike } from '../range'; import { IPluginDesc } from '../base/plugin'; export declare class IDTypeManager { static EXTENSION_POIN...
phovea/phovea_core
src/provenance/ProvenanceGraph.ts
/** * Created by sam on 12.02.2015. */ import {BaseUtils} from '../base/BaseUtils'; import {AppContext} from '../app/AppContext'; import {IDType, SelectOperation, SelectionUtils, IDTypeManager} from '../idtype'; import {Range, Range1D} from '../range'; import {ADataType} from '../data/datatype'; import {ObjectNode, I...
phovea/phovea_core
src/data/ICategorical2PartitioningOptions.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
src/2D/IShape.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
src/idtype/SelectionUtils.ts
<filename>src/idtype/SelectionUtils.ts /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/lic...
phovea/phovea_core
src/matrix/internal/SliceRowVector.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
src/vis/ILocateAble.ts
<filename>src/vis/ILocateAble.ts /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ...
phovea/phovea_core
tests/index.test.ts
<filename>tests/index.test.ts<gh_stars>1-10 /// <reference types="jest" /> import {BaseUtils} from '../src/base/BaseUtils'; import {ArrayUtils} from '../src/base/ArrayUtils'; import {UniqueIdManager} from '../src/app/UniqueIdManager'; import * as pkg from '../package.json'; describe('argFilter', () => { it('evens...
phovea/phovea_core
dist/stratification/vector/StratificationVector.d.ts
/** * Created by <NAME> on 04.08.2014. */ import { Range, RangeLike } from '../../range'; import { CompositeRange1D } from '../../range/CompositeRange1D'; import { IDataType, ADataType, IValueTypeDesc } from '../../data'; import { IHistogram } from '../../data/histogram'; import { ICategoricalVector, IVector } from '...
phovea/phovea_core
dist/layout/layout.d.ts
<reponame>phovea/phovea_core<filename>dist/layout/layout.d.ts /** * Created by <NAME> on 15.12.2014. */ import { Rect } from '../geom'; export interface ILayoutElem { setBounds(x: number, y: number, w: number, h: number): Promise<void> | null; getBounds(): Rect; layoutOption<T>(name: string): T; layou...
phovea/phovea_core
dist/2D/Token.d.ts
<gh_stars>1-10 export declare class Token { type: number; text: any; constructor(type: number, text: any); typeis(t: number): boolean; }
phovea/phovea_core
src/range/Range.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
dist/layout/LayoutUtils.d.ts
<filename>dist/layout/LayoutUtils.d.ts /** * Created by <NAME> on 15.12.2014. */ import { IPadding, ILayoutElem } from './layout'; export declare class LayoutUtils { static padding(v: number): IPadding; static noPadding: IPadding; static flowLayout(horizontal: boolean, gap: number, padding?: { top...
phovea/phovea_core
dist/data/DataCache.d.ts
<filename>dist/data/DataCache.d.ts import { IDataType } from './datatype'; import { IDataDescription } from './DataDescription'; export interface INode { readonly name: string; readonly children: INode[]; data: IDataType; } export declare class DataCache { private available; private cacheById; p...
phovea/phovea_core
dist/idtype/ASelectAble.d.ts
<reponame>phovea/phovea_core<filename>dist/idtype/ASelectAble.d.ts /** * Created by <NAME> on 04.08.2014. */ import { EventHandler, IEventHandler, IEventListener } from '../base/event'; import { Range, RangeLike } from '../range'; import { SelectOperation } from './SelectionUtils'; import { IDType } from './IDType'; ...
phovea/phovea_core
src/graph/RemoteStorageGraph.ts
/** * Created by <NAME> on 22.10.2014. */ import {AppContext} from '../app/AppContext'; import {IEvent} from '../base/event'; import {GraphBase, IGraphFactory} from './GraphBase'; import {GraphEdge, GraphNode, IGraphDataDescription} from './graph'; import {ResolveNow} from '../base/promise'; interface ISyncItem { ...
phovea/phovea_core
src/multiform/MultiForm.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
src/vector/index.ts
/** * Created by sam on 26.12.2016. */ export * from './IVector'; export * from './VectorUtils'; export * from './ProjectedAtom'; export * from './AVector'; export * from './loader'; export * from './Vector';
phovea/phovea_core
dist/base/BaseUtils.d.ts
/** * Created by <NAME> on 04.08.2014. */ import { IIterable } from './IIterable'; export declare class BaseUtils { /** * integrate b into a and override all duplicates * @param {Object} a * @param {Object} bs * @returns {Object} a with extended b */ static mixin<T, U>(a: T, b: U, ......
phovea/phovea_core
src/multiform/IMultiForm.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
src/layout/layout.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
dist/geom/Ellipse.d.ts
/** * Created by <NAME> on 27.12.2016. */ import { Vector2D } from '../2D/Vector2D'; import { IIntersectionParam } from '../2D/IIntersectionParam'; import { AShape } from './AShape'; import { Circle } from './Circle'; import { Rect } from './Rect'; export declare class Ellipse extends AShape { x: number; y: n...
phovea/phovea_core
src/graph/MemoryGraph.ts
/** * Created by sam on 12.02.2015. */ /** * Created by <NAME> on 22.10.2014. */ import {IPersistable} from '../base/IPersistable'; import {GraphBase, GraphFactoryUtils} from './GraphBase'; import {GraphEdge, GraphNode, IGraphDataDescription} from './graph'; export class MemoryGraph extends GraphBase implements IP...
phovea/phovea_core
src/2D/Vector2D.ts
<gh_stars>1-10 /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ******************...
phovea/phovea_core
src/range/RangeLike.ts
/** * Created by <NAME> on 27.12.2016. */ import {Range} from './Range'; /*export {default as Range, all, none} from './Range'; export {default as Range1D} from './Range1D'; export {default as CompositeRange1D} from './CompositeRange1D'; export {default as Range1DGroup} from './Range1DGroup';*/ /** * Ranges defin...
phovea/phovea_core
src/internal/IdPool.ts
/** * Created by <NAME> on 27.12.2016. */ /** * utility class for handling a bunch of reuseable ids */ export class IdPool { private counter = 0; private free: number[] = []; /** * check out a new id * @return {*} */ checkOut() { if (this.free.length === 0) { //no more cached return thi...
phovea/phovea_core
dist/graph/graph.d.ts
/** * Created by sam on 12.02.2015. */ /** * Created by <NAME> on 22.10.2014. */ import { SelectOperation, ASelectAble } from '../idtype'; import { RangeLike, Range } from '../range'; import { IPersistable } from '../base/IPersistable'; import { EventHandler } from '../base/event'; import { IDataType, IDataDescript...
phovea/phovea_core
dist/idtype/IDType.d.ts
<reponame>phovea/phovea_core<gh_stars>1-10 /** * Created by <NAME> on 04.08.2014. */ import { EventHandler } from '../base/event'; import { Range, RangeLike } from '../range'; import { IIDType } from './IIDType'; import { SelectOperation } from './SelectionUtils'; /** * An IDType is a semantic aggregation of an enti...
phovea/phovea_core
src/atom/AAtom.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
dist/base/statistics.d.ts
<gh_stars>1-10 /** * Created by <NAME> on 29.08.2014. */ import { IIterable } from './IIterable'; /** * simple number statistics similar to DoubleStatistics in Caleydo * TODO use a standard library for that */ export interface IStatistics { readonly min: number; readonly max: number; readonly sum: numb...
phovea/phovea_core
src/i18n/I18nextManager.ts
// In case of failing tests due to i18next, check if the `esModuleInterop` flag is set to true in the jest config (in "tsConfig" object under "ts-jest" in globals property). import i18next from 'i18next'; import {PluginRegistry} from '../app/PluginRegistry'; import {EP_PHOVEA_CORE_LOCALE, ILocaleEPDesc} from '../app/ex...
phovea/phovea_core
dist/vis/ITransform.d.ts
<reponame>phovea/phovea_core /** * Created by <NAME> on 05.08.2014. */ export interface ITransform { /** * scale factors (width, height) */ readonly scale: [number, number]; /** * rotation */ readonly rotate: number; }
phovea/phovea_core
src/stratification/StratificationGroup.ts
<reponame>phovea/phovea_core /** * Created by sam on 26.12.2016. */ import {Range, RangeLike, CompositeRange1D, Range1DGroup, ParseRangeUtils} from '../range'; import {IDataType} from '../data/datatype'; import {ASelectAble} from '../idtype'; import {ICategoricalVector} from '../vector'; import {IHistogram, RangeHi...
phovea/phovea_core
src/idtype/AProductSelectAble.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
src/graph/GraphBase.ts
<reponame>phovea/phovea_core<gh_stars>1-10 /** * Created by sam on 12.02.2015. */ /** * Created by <NAME> on 22.10.2014. */ import {GraphNode, GraphEdge, AGraph, IGraph, IGraphDataDescription} from './graph'; export interface IGraphFactory { makeNode(p: any): GraphNode; makeEdge(p: any, lookup: (id: number) =>...
phovea/phovea_core
src/multiform/internal/FormUtils.ts
/** * Created by sam on 26.12.2016. */ import {IVisPluginDesc} from '../../vis/IVisPluginDesc'; export class FormUtils { /** * @internal */ static selectVis(initial: number|string|IVisPluginDesc, visses: IVisPluginDesc[]) { switch (typeof initial) { case 'number': return visses[Math.ma...
phovea/phovea_core
dist/multiform/MultiFormGrid.d.ts
<reponame>phovea/phovea_core /****************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *****...
phovea/phovea_core
src/data/index.ts
/** * Created by sam on 12.02.2015. */ export * from './DataDescription'; export * from './ICategorical2PartitioningOptions'; export * from './valuetype'; export * from './histogram'; export * from './datatype'; export * from './DataCache'; export * from './DataUtils';
phovea/phovea_core
dist/base/iterator.d.ts
/** * Created by <NAME> on 04.08.2014. */ /** * basic iterator interface * @deprecated use native iterator concept */ export interface IIterator<T> { hasNext(): boolean; next(): T; /** * converts this whole itertor into an array */ asList(): T[]; isIncreasing: boolean; isDecreasin...
phovea/phovea_core
src/graph/LocalStorageGraph.ts
/** * Created by sam on 12.02.2015. */ /** * Created by <NAME> on 22.10.2014. */ import {IEvent} from '../base/event'; import {GraphBase, IGraphFactory} from './GraphBase'; import {GraphEdge, GraphNode, IGraph, IGraphDataDescription} from './graph'; import {ResolveNow} from '../base/promise'; export class LocalSto...
phovea/phovea_core
tests/ajax.test.ts
/// <reference types="jest" /> import {Ajax} from '../src/base/ajax'; import {AppContext} from '../src/app/AppContext'; describe('api2absURL', () => { it('one arg', () => expect(AppContext.getInstance().api2absURL('/path')).toEqual((AppContext.context || '/') + 'api/path')); it('empty query', () => ex...
phovea/phovea_core
dist/idtype/AProductSelectAble.d.ts
/** * Created by <NAME> on 04.08.2014. */ import { IEventListener } from '../base/event'; import { Range, RangeLike } from '../range'; import { SelectOperation } from './SelectionUtils'; import { ASelectAble, ISelectAble } from './ASelectAble'; import { ProductIDType } from './ProductIDType'; export interface IProduc...
phovea/phovea_core
src/range/internal/RangeElem.ts
/** * Created by <NAME> on 27.12.2016. */ import {IRangeElem} from './IRangeElem'; import {RangeUtils} from './RangeUtils'; import {Iterator, IIterator} from '../../base/iterator'; import {SingleRangeElem} from './SingleRangeElem'; export class RangeElem implements IRangeElem { constructor(public readonly from: n...
phovea/phovea_core
dist/base/IPersistable.d.ts
<reponame>phovea/phovea_core /** * Created by <NAME> on 04.08.2014. */ export interface IPersistable { /** * persist the current configuration and return */ persist(): any; /** * restores from stored persisted state * @param persisted a result of a previous persist call * @return ...
phovea/phovea_core
src/layout/LayoutUtils.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
dist/geom/Polygon.d.ts
/** * Created by <NAME> on 27.12.2016. */ import { Vector2D } from '../2D/Vector2D'; import { IIntersectionParam } from '../2D/IIntersectionParam'; import { AShape } from './AShape'; import { Circle } from './Circle'; import { Rect } from './Rect'; export declare class Polygon extends AShape { private points; ...
phovea/phovea_core
dist/sync/PopupWindow.d.ts
<filename>dist/sync/PopupWindow.d.ts<gh_stars>1-10 /** * Created by <NAME> on 15.02.2017. */ export interface INodeVis { node: Element; destroy?(): any; } export interface IPopupProxyOptions { args?: any[]; name?: string; } export declare class PopupProxy<T extends INodeVis> { private readonly par...
phovea/phovea_core
src/range/Range1D.ts
/** * Created by <NAME> on 27.12.2016. */ import {IRangeElem} from './internal/internal'; import {RangeElem} from './internal/RangeElem'; import {IIterator, Iterator, ListIterator, ConcatIterator} from '../base/iterator'; function sortNumeric(a: number, b: number) { return a - b; } export class Range1D { priva...
phovea/phovea_core
src/base/IPersistable.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
src/layout/layout_view.ts
<gh_stars>1-10 /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ******************...
phovea/phovea_core
src/data/datatype.ts
<filename>src/data/datatype.ts<gh_stars>1-10 /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.o...
phovea/phovea_core
src/stratification/internal/internal.ts
export * from './StratificationNameVector';
phovea/phovea_core
tests/session.test.ts
/// <reference types="jest" /> import {Session} from '../src/base/Session'; const session = new Session(); describe('methods', () => { const key = 'test-key'; it('invalid key', () => { expect(session.has(key)).toBe(false); }); it('valid key', () => { session.store(key, 'foobar'); expect(session.ha...
phovea/phovea_core
dist/table/loader.d.ts
<filename>dist/table/loader.d.ts /** * Created by <NAME> on 27.12.2016. */ import { Range } from '../range'; import { IValueType } from '../data'; import { IQueryArgs, ITableDataDescription, ITableColumn } from './ITable'; /** * @internal */ export interface ITableLoader { (desc: ITableDataDescription): Promise...
phovea/phovea_core
dist/stratification/loader.d.ts
<reponame>phovea/phovea_core /** * Created by <NAME> on 04.08.2014. */ import { Range, CompositeRange1D } from '../range'; import { IStratificationDataDescription } from './IStratification'; export interface ILoadedStratification { readonly rowIds: Range; readonly rows: string[]; readonly range: Composite...
phovea/phovea_core
src/matrix/Matrix.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
src/base/promise.ts
<reponame>phovea/phovea_core<filename>src/base/promise.ts export class ResolveNow<T> implements PromiseLike<T> { constructor(private readonly v: T) { } // When using Typescript v2.7+ the typing can be further specified as `then<TResult1 = T, TResult2 = never>(...` then<TResult1, TResult2>(onfulfilled?: ((value...
phovea/phovea_core
src/base/ArrayUtils.ts
<gh_stars>1-10 /** * Created by <NAME> on 27.12.2016. */ export class ArrayUtils { /** * search item in array by function * @param arr * @param f * @deprecated use Array.prototype.find * @return {T} */ static search<T>(arr: T[], f: (v: T) => boolean): T { let r: T = undefined; arr.some((...
phovea/phovea_core
src/table/ATable.ts
/** * Created by <NAME> on 27.12.2016. */ import {IPersistable} from '../base/IPersistable'; import {Range, ParseRangeUtils, RangeLike} from '../range'; import {IDTypeManager, IDType, ASelectAble} from '../idtype'; import {IVector} from '../vector'; import {ITable, IQueryArgs} from './ITable'; import {MultiTableVect...
phovea/phovea_core
dist/geom/index.d.ts
/** * Created by <NAME> on 08.10.2014. */ export * from './ICircle'; export * from './IRect'; export * from './AShape'; export * from './Rect'; export * from './Circle'; export * from './Line'; export * from './Polygon'; export * from './Ellipse'; export * from './ShapeUtils';
phovea/phovea_core
src/matrix/loader.ts
<filename>src/matrix/loader.ts /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license **...
phovea/phovea_core
dist/base/ArrayUtils.d.ts
<reponame>phovea/phovea_core<gh_stars>1-10 /** * Created by <NAME> on 27.12.2016. */ export declare class ArrayUtils { /** * search item in array by function * @param arr * @param f * @deprecated use Array.prototype.find * @return {T} */ static search<T>(arr: T[], f: (v: T) => bo...
phovea/phovea_core
src/multiform/index.ts
<filename>src/multiform/index.ts /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ...
phovea/phovea_core
tests/math.test.ts
<gh_stars>1-10 /// <reference types="jest" /> import {Statistics} from '../src/base/statistics'; describe('computeStats', () => { function expectStats(input: number[], expected: any) { describe('stats ' + input, () => { const stats = Statistics.computeStats(input); it('max', () => expect(stats.max).t...
phovea/phovea_core
src/table/loader.ts
<reponame>phovea/phovea_core<gh_stars>1-10 /** * Created by <NAME> on 27.12.2016. */ import {AppContext} from '../app/AppContext'; import {Range, ParseRangeUtils} from '../range'; import {IValueType, INumberValueTypeDesc, ValueTypeUtils} from '../data'; import {IQueryArgs, ITableDataDescription, ITableColumn} from ...
phovea/phovea_core
dist/multiform/index.d.ts
/** * Created by <NAME> on 27.08.2014. */ export * from './IMultiForm'; export * from './VisChooser'; export * from './MultiForm'; export * from './MultiFormGrid';
phovea/phovea_core
src/base/event.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
dist/provenance/ObjectNode.d.ts
<gh_stars>1-10 import { GraphNode } from '../graph/graph'; /** * an object reference is a common description of an object node in the provenance graph */ export interface IObjectRef<T> { /** * name of the object */ readonly name: string; /** * category one of categories */ readonly...
phovea/phovea_core
src/2D/Polynomial.ts
<gh_stars>1-10 /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ******************...
phovea/phovea_core
dist/base/ajax.d.ts
<reponame>phovea/phovea_core export declare class AjaxError extends Error { readonly response: Response; constructor(response: Response, message?: string); } export declare class Ajax { static GLOBAL_EVENT_AJAX_PRE_SEND: string; static GLOBAL_EVENT_AJAX_POST_SEND: string; /** * Maximum number o...
phovea/phovea_core
dist/2D/Path.d.ts
<gh_stars>1-10 import { IPathSegment } from './PathSegment'; export declare class Path { static COMMAND: number; static NUMBER: number; static EOD: number; static PARAMS: { [key: string]: string[]; }; segments: IPathSegment[]; constructor(path: string); appendPathSegment(segment:...
phovea/phovea_core
src/range/parser.ts
/** * Created by <NAME> on 27.12.2016. */ import {Range} from './Range'; import {Range1D} from './Range1D'; import {Range1DGroup} from './Range1DGroup'; import {RangeElem} from './internal/RangeElem'; import {CompositeRange1D} from './CompositeRange1D'; import {RangeLike} from './RangeLike'; //Range EBNF grammar //...
phovea/phovea_core
src/idtype/IDType.ts
<reponame>phovea/phovea_core /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ****...
phovea/phovea_core
dist/range/Range1D.d.ts
/** * Created by <NAME> on 27.12.2016. */ import { IRangeElem } from './internal/internal'; import { IIterator } from '../base/iterator'; export declare class Range1D { private readonly arr; constructor(arg?: Range1D | IRangeElem[]); get length(): number; static all(): Range1D; static single(item:...
phovea/phovea_core
dist/2D/IShape.d.ts
import { IIntersectionParam } from './IIntersectionParam'; export interface IShape { asIntersectionParams(): IIntersectionParam; }
phovea/phovea_core
src/data/DataCache.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
src/provenance/StateNode.ts
/** * Created by sam on 12.02.2015. */ import {GraphNode, GraphEdge} from '../graph/graph'; import {ActionNode} from './ActionNode'; import {ObjectNode} from './ObjectNode'; /** * a state node is one state in the visual exploration consisting of an action creating it and one or more following ones. * In addition, ...
phovea/phovea_core
tests/stratification.test.ts
/// <reference types="jest" /> import {Stratification} from '../src/stratification'; /* TODO: StratificationGroup: accumulateEvents, clear, constructor, desc, dim, fillAndSend, fire, fireEvent, fromIdRange, group, groupDesc, groupIndex, groups, handlers, hi...
phovea/phovea_core
dist/internal/internal.d.ts
/** * Created by <NAME> on 04.08.2014. */ export * from './IdPool'; export * from './RemoveNodeObserver';
phovea/phovea_core
tests/table/table.test.ts
/** * Created by <NAME> on 07.03.2017. */ import {ITable, Table} from '../../src/table'; import {IDTypeManager} from '../../src/idtype'; /// <reference types="jest" /> const data = [ { a: 1, b: 'row1', c: 5.2}, { a: 2, b: 'row2', c: 10.2}, { a: 3, b: 'row3', c: 2.2}, { a: 4, b: 'row4', c: 1.2} ]; describe(...
phovea/phovea_core
src/sync/Store.ts
<filename>src/sync/Store.ts /** * Created by <NAME> on 01.12.2016. */ import {EventHandler} from '../base/event'; export interface IChangedHandler { (newValue: any, oldValue: any, url: string); } export class Store extends EventHandler { static EVENT_CHANGED = '_change'; constructor(private storage: Storage...
phovea/phovea_core
dist/provenance/RemoteStorageProvenanceGraphManager.d.ts
import { ProvenanceGraph } from './ProvenanceGraph'; import { IProvenanceGraphManager, ICommonProvenanceGraphManagerOptions } from './provenance'; import { IProvenanceGraphDataDescription } from './ICmd'; import { GraphBase } from '../graph/GraphBase'; export interface IRemoteStorageProvenanceGraphManagerOptions extend...
phovea/phovea_core
src/provenance/ProvenanceGraphUtils.ts
/** * Created by sam on 12.02.2015. */ import {PluginRegistry} from '../app/PluginRegistry'; import {ObjectNode, IObjectRef, ObjectRefUtils} from './ObjectNode'; import {StateNode, } from './StateNode'; import {ActionNode, IActionCompressor} from './ActionNode'; import {SlideNode} from './SlideNode'; import {GraphEdg...
phovea/phovea_core
src/range/internal/SingleRangeElem.ts
<reponame>phovea/phovea_core<gh_stars>1-10 /** * Created by <NAME> on 27.12.2016. */ import {IRangeElem} from './IRangeElem'; import {RangeUtils} from './RangeUtils'; import {SingleIterator, IIterator} from '../../base/iterator'; export class SingleRangeElem implements IRangeElem { constructor(public readonly fro...
phovea/phovea_core
src/geom/ICircle.ts
<filename>src/geom/ICircle.ts /* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license ***...
phovea/phovea_core
src/app/PluginRegistry.ts
/** * Created by <NAME> on 27.12.2016. */ import {IPluginDesc, IRegistry, IPlugin} from '../base/plugin'; import {UniqueIdManager} from './UniqueIdManager'; import {BaseUtils} from '../base/BaseUtils'; export class PluginRegistry implements IRegistry { private registry: IPluginDesc[] = []; public push(type: ...
phovea/phovea_core
src/multiform/VisChooser.ts
/* ***************************************************************************** * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
phovea/phovea_core
dist/data/histogram.d.ts
/** * Created by <NAME> on 29.08.2014. */ import { Range } from '../range/Range'; import { Range1D } from '../range/Range1D'; import { CompositeRange1D } from '../range/CompositeRange1D'; import { IIterable } from '../base/IIterable'; export interface IHistogram extends IIterable<number> { readonly bins: number; ...
phovea/phovea_core
dist/stratification/StratificationUtils.d.ts
/** * Created by <NAME> on 04.08.2014. */ import { IStratificationDataDescription } from './IStratification'; export declare class StratificationUtils { static createDefaultStratificationDesc(): IStratificationDataDescription; }
phovea/phovea_core
src/layout/index.ts
/** * Created by <NAME> on 01.12.2016. */ export * from './layout'; export * from './layout_view'; export * from './LayoutUtils';
phovea/phovea_core
src/2D/Path.ts
import {Token} from './Token'; import {IntersectionParamUtils} from './IIntersectionParam'; import {IPathSegment, AbsoluteArcPath, AbsoluteCurveto3, RelativeCurveto3, AbsoluteHLineto, AbsoluteLineto, RelativeLineto, AbsoluteMoveto, RelativeMoveto, AbsoluteCurveto2, RelativeCurveto2, AbsoluteSmoothCurveto3, RelativeSmoo...
phovea/phovea_core
dist/matrix/Matrix.d.ts
<reponame>phovea/phovea_core /** * Created by <NAME> on 04.08.2014. */ import { Range, RangeLike } from '../range'; import { IValueTypeDesc } from '../data'; import { IHistogram } from '../data/histogram'; import { IAdvancedStatistics, IStatistics } from '../base/statistics'; import { IDType, ProductIDType } from '.....
phovea/phovea_core
dist/range/internal/SingleRangeElem.d.ts
/** * Created by <NAME> on 27.12.2016. */ import { IRangeElem } from './IRangeElem'; import { IIterator } from '../../base/iterator'; export declare class SingleRangeElem implements IRangeElem { readonly from: number; constructor(from: number); get step(): number; get to(): number; get isAll(): bo...