Skip to content
Snippets Groups Projects
Commit 0e5ed275 authored by David Sehnal's avatar David Sehnal
Browse files

Renamed mol-view mol-canvas3d, moved parameters.ts to mol-util, added mol-plugin

parent cb689707
No related branches found
No related tags found
No related merge requests found
Showing
with 23 additions and 20 deletions
......@@ -17,12 +17,14 @@ The core of Mol* currently consists of these modules:
- `mol-math` Math related (loosely) algorithms and data structures.
- `mol-io` Parsing library. Each format is parsed into an interface that corresponds to the data stored by it. Support for common coordinate, experimental/map, and annotation data formats.
- `mol-model` Data structures and algorithms (such as querying) for representing molecular data (including coordinate, experimental/map, and annotation data).
- `mol-model-props` Common "custom properties"
- `mol-model-props` Common "custom properties".
- `mol-script` A scriting language for creating representations/scenes and querying (includes the [MolQL query language](https://molql.github.io)).
- `mol-geo` Creating molecular geometries.
- `mol-gl` A wrapper around WebGL. Uses `mol-geo` to generate geometries.
- `mol-gl` A lightweight wrapper around WebGL.
- `mol-canvas3d` A low level 3d view component. Uses `mol-geo` to generate geometries.
- `mol-state` State representation tree with state saving and automatic updates.
- `mol-app` Components for builduing UIs.
- `mol-view` A reference viewer implementation.
- `mol-plugin` Allow to define modular Mol* plugin instances utilizing `mol-state` and `mol-view3d`.
- `mol-util` Useful things that do not fit elsewhere.
Moreover, the project contains the imlementation of `servers`, including
......
......@@ -61,8 +61,9 @@
"mol-script($|/.*)": "<rootDir>/src/mol-script$1",
"mol-task($|/.*)": "<rootDir>/src/mol-task$1",
"mol-state($|/.*)": "<rootDir>/src/mol-state$1",
"mol-plugin($|/.*)": "<rootDir>/src/mol-plugin$1",
"mol-util($|/.*)": "<rootDir>/src/mol-util$1",
"mol-view($|/.*)": "<rootDir>/src/mol-view$1"
"mol-canvas3d($|/.*)": "<rootDir>/src/mol-canvas3d$1"
},
"testRegex": "\\.spec\\.ts$"
},
......
......@@ -4,7 +4,7 @@
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import Viewer from 'mol-view/viewer';
import Viewer from 'mol-canvas3d/viewer';
import { getCifFromUrl, getModelsFromMmcif, getCifFromFile, getCcp4FromUrl, getVolumeFromCcp4, getCcp4FromFile, getVolumeFromVolcif } from './util';
import { StructureView } from './structure-view';
import { BehaviorSubject } from 'rxjs';
......
......@@ -12,7 +12,7 @@ import { Tensor } from 'mol-math/linear-algebra';
import { addSphere } from 'mol-geo/geometry/mesh/builder/sphere';
import { addCylinder } from 'mol-geo/geometry/mesh/builder/cylinder';
import { Shape } from 'mol-model/shape';
import { ColorTheme } from 'mol-view/theme/color';
import { ColorTheme } from 'mol-canvas3d/theme/color';
import { Location } from 'mol-model/location';
import { StructureElement, Unit, StructureProperties } from 'mol-model/structure';
......
......@@ -5,13 +5,13 @@
*/
import * as React from 'react'
import Viewer from 'mol-view/viewer';
import Viewer from 'mol-canvas3d/viewer';
import { App } from '../app';
import { Params } from 'mol-view/parameter';
import { Params } from 'mol-util/parameter';
import { Representation } from 'mol-geo/representation';
import { ParametersComponent } from 'mol-app/component/parameters';
import { Progress } from 'mol-task';
import { ColorTheme } from 'mol-view/theme/color';
import { ColorTheme } from 'mol-canvas3d/theme/color';
import { getColorThemeProps } from 'mol-geo/geometry/color-data';
import { ColorThemeComponent } from 'mol-app/component/color-theme';
......
......@@ -8,7 +8,7 @@ import * as React from 'react'
import { App } from '../app';
import { MarkerAction } from 'mol-geo/geometry/marker-data';
import { EmptyLoci, Loci, areLociEqual } from 'mol-model/loci';
import { labelFirst } from 'mol-view/label';
import { labelFirst } from 'mol-canvas3d/label';
interface ViewportProps {
app: App
......
......@@ -11,7 +11,7 @@ import { getStructureFromModel } from './util';
import { AssemblySymmetry } from 'mol-model-props/rcsb/symmetry';
import { ShapeRepresentation, ShapeProps } from 'mol-geo/representation/shape';
import { getAxesShape } from './assembly-symmetry';
import Viewer from 'mol-view/viewer';
import Viewer from 'mol-canvas3d/viewer';
import { CarbohydrateRepresentation } from 'mol-geo/representation/structure/representation/carbohydrate';
// import { MeshBuilder } from 'mol-geo/mesh/mesh-builder';
// import { addSphere } from 'mol-geo/mesh/builder/sphere';
......
......@@ -4,7 +4,7 @@
* @author Alexander Rose <alexander.rose@weirdbyte.de>
*/
import Viewer from 'mol-view/viewer';
import Viewer from 'mol-canvas3d/viewer';
import { BehaviorSubject } from 'rxjs';
import { App } from './app';
import { Progress } from 'mol-task';
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { ColorTheme } from 'mol-view/theme/color';
import { ColorTheme } from 'mol-canvas3d/theme/color';
import { Color } from 'mol-util/color';
export interface ColorThemeComponentProps {
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { BooleanParam } from 'mol-view/parameter';
import { BooleanParam } from 'mol-util/parameter';
export interface BooleanParamComponentProps {
param: BooleanParam
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { MultiSelectParam } from 'mol-view/parameter';
import { MultiSelectParam } from 'mol-util/parameter';
export interface MultiSelectParamComponentProps<T extends string> {
param: MultiSelectParam<T>
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { NumberParam } from 'mol-view/parameter';
import { NumberParam } from 'mol-util/parameter';
export interface NumberParamComponentProps {
param: NumberParam
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { RangeParam } from 'mol-view/parameter';
import { RangeParam } from 'mol-util/parameter';
export interface RangeParamComponentProps {
param: RangeParam
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { SelectParam } from 'mol-view/parameter';
import { SelectParam } from 'mol-util/parameter';
export interface SelectParamComponentProps<T extends string> {
param: SelectParam<T>
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { TextParam } from 'mol-view/parameter';
import { TextParam } from 'mol-util/parameter';
export interface TextParamComponentProps {
param: TextParam
......
......@@ -5,7 +5,7 @@
*/
import * as React from 'react'
import { Param, Params } from 'mol-view/parameter';
import { Param, Params } from 'mol-util/parameter';
import { BooleanParamComponent } from './parameter/boolean';
import { NumberParamComponent } from './parameter/number';
import { RangeParamComponent } from './parameter/range';
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment