Module
MolDraw
- Package
- purescript-mol-draw
- Repository
- lukasturcani/molDraw
A lightweight, 3D molecular viewer.
For usage examples, see: https://github.com/lukasturcani/molDraw
#ac Source
ac :: ChemicalSymbol
#ag Source
ag :: ChemicalSymbol
#al Source
al :: ChemicalSymbol
#am Source
am :: ChemicalSymbol
#ar Source
ar :: ChemicalSymbol
#as Source
as :: ChemicalSymbol
#at Source
at :: ChemicalSymbol
#au Source
au :: ChemicalSymbol
#b Source
b :: ChemicalSymbol
#ba Source
ba :: ChemicalSymbol
#be Source
be :: ChemicalSymbol
#bh Source
bh :: ChemicalSymbol
#bi Source
bi :: ChemicalSymbol
#bk Source
bk :: ChemicalSymbol
#br Source
br :: ChemicalSymbol
#c Source
c :: ChemicalSymbol
#ca Source
ca :: ChemicalSymbol
#cd Source
cd :: ChemicalSymbol
#ce Source
ce :: ChemicalSymbol
#cf Source
cf :: ChemicalSymbol
#chemicalSymbol Source
chemicalSymbol :: GeometryAtom -> ChemicalSymbol
Get the chemical symbol of an atom.
#cl Source
cl :: ChemicalSymbol
#cm Source
cm :: ChemicalSymbol
#co Source
co :: ChemicalSymbol
#color Source
color :: ChemicalSymbol -> Int
Get the default color of an element.
#cr Source
cr :: ChemicalSymbol
#cs Source
cs :: ChemicalSymbol
#cu Source
cu :: ChemicalSymbol
#db Source
db :: ChemicalSymbol
#dy Source
dy :: ChemicalSymbol
#er Source
er :: ChemicalSymbol
#es Source
es :: ChemicalSymbol
#eu Source
eu :: ChemicalSymbol
#f Source
f :: ChemicalSymbol
#fe Source
fe :: ChemicalSymbol
#fm Source
fm :: ChemicalSymbol
#fr Source
fr :: ChemicalSymbol
#ga Source
ga :: ChemicalSymbol
#gd Source
gd :: ChemicalSymbol
#ge Source
ge :: ChemicalSymbol
#h Source
h :: ChemicalSymbol
#he Source
he :: ChemicalSymbol
#hf Source
hf :: ChemicalSymbol
#hg Source
hg :: ChemicalSymbol
#ho Source
ho :: ChemicalSymbol
#hs Source
hs :: ChemicalSymbol
#i Source
i :: ChemicalSymbol
#id Source
id :: GeometryAtom -> AtomId
Get the id of an atom.
#ir Source
ir :: ChemicalSymbol
#k Source
k :: ChemicalSymbol
#kr Source
kr :: ChemicalSymbol
#la Source
la :: ChemicalSymbol
#li Source
li :: ChemicalSymbol
#lr Source
lr :: ChemicalSymbol
#lu Source
lu :: ChemicalSymbol
#maybeMolecule Source
maybeMolecule :: Array Atom -> Array Bond -> Either String GeometryData
Create GeometryData
from explicit atoms and bonds.
The reason this returns an Either
, is that the provided bonds
maybe be invalid. For example, if you have 3 atoms, but
also a bond, which says its connected to an atom with id 50.
This is clearly invalid input.
#maybeParseV3000 Source
maybeParseV3000 :: String -> Either String GeometryData
Try to parse the content of V3000 MDL .mol file.
#md Source
md :: ChemicalSymbol
#meshes Source
meshes :: MeshOptions -> GeometryData -> Array Mesh
Create the meshes which compose a molecule.
#mg Source
mg :: ChemicalSymbol
#mn Source
mn :: ChemicalSymbol
#mo Source
mo :: ChemicalSymbol
#mt Source
mt :: ChemicalSymbol
#n Source
n :: ChemicalSymbol
#na Source
na :: ChemicalSymbol
#nb Source
nb :: ChemicalSymbol
#nd Source
nd :: ChemicalSymbol
#ne Source
ne :: ChemicalSymbol
#ni Source
ni :: ChemicalSymbol
#no Source
no :: ChemicalSymbol
#np Source
np :: ChemicalSymbol
#o Source
o :: ChemicalSymbol
#os Source
os :: ChemicalSymbol
#p Source
p :: ChemicalSymbol
#pa Source
pa :: ChemicalSymbol
#pb Source
pb :: ChemicalSymbol
#pd Source
pd :: ChemicalSymbol
#pm Source
pm :: ChemicalSymbol
#po Source
po :: ChemicalSymbol
#pr Source
pr :: ChemicalSymbol
#pt Source
pt :: ChemicalSymbol
#pu Source
pu :: ChemicalSymbol
#ra Source
ra :: ChemicalSymbol
#rb Source
rb :: ChemicalSymbol
#re Source
re :: ChemicalSymbol
#rf Source
rf :: ChemicalSymbol
#rh Source
rh :: ChemicalSymbol
#rn Source
rn :: ChemicalSymbol
#ru Source
ru :: ChemicalSymbol
#s Source
s :: ChemicalSymbol
#sb Source
sb :: ChemicalSymbol
#sc Source
sc :: ChemicalSymbol
#se Source
se :: ChemicalSymbol
#sg Source
sg :: ChemicalSymbol
#show Source
show :: ChemicalSymbol -> String
Get the chemical symbol as a string.
#si Source
si :: ChemicalSymbol
#size Source
size :: ChemicalSymbol -> Number
Get the default size of an element.
#sm Source
sm :: ChemicalSymbol
#sn Source
sn :: ChemicalSymbol
#sr Source
sr :: ChemicalSymbol
#ta Source
ta :: ChemicalSymbol
#tb Source
tb :: ChemicalSymbol
#tc Source
tc :: ChemicalSymbol
#te Source
te :: ChemicalSymbol
#th Source
th :: ChemicalSymbol
#ti Source
ti :: ChemicalSymbol
#tl Source
tl :: ChemicalSymbol
#tm Source
tm :: ChemicalSymbol
#u Source
u :: ChemicalSymbol
#v Source
v :: ChemicalSymbol
#w Source
w :: ChemicalSymbol
#xe Source
xe :: ChemicalSymbol
#y Source
y :: ChemicalSymbol
#yb Source
yb :: ChemicalSymbol
#zn Source
zn :: ChemicalSymbol
#zr Source
zr :: ChemicalSymbol
- Modules
- MolDraw
- MolDraw.
Atom - MolDraw.
Bond - MolDraw.
BondSegment - MolDraw.
ChemicalSymbol - MolDraw.
DrawMol - MolDraw.
DrawMol. Mesh - MolDraw.
DrawMol. Scene - MolDraw.
GeometryAtom - MolDraw.
GeometryData - MolDraw.
Parsers. ChemicalSymbol - MolDraw.
Parsers. V3000 - MolDraw.
Position - MolDraw.
Utils - MolDraw.
Utils. ElementColors - MolDraw.
Utils. ElementSizes