Molecular structure drawing
MolecularGraph.atomnumber — Methodatomnumber(atomsymbol::Symbol) -> Int
atomnumber(atom::Atom) -> IntReturn atom number.
MolecularGraph.atomsymbol — Methodatomsymbol(n::Int) -> SymbolReturn atom symbol of given atomic number.
MolecularGraph.graphmol — Methodgraphmol(mol::SubgraphView{GraphMol}) -> GraphMolGenerate a new GraphMol from a substructure view.
Graph property caches and attributes are not inherited.
MolecularGraph.graphmol — Methodgraphmol(atoms::Vector{Atom}, bonds::Vector{Bond}) -> GraphMolGenerate GraphMol that has the given atom objects and edge objects.
MolecularGraph.graphmol — Methodgraphmol() -> GraphMolGenerate empty GraphMol.
MolecularGraph.graphmol — Methodgraphmol(mol::GraphMol; clearcache=true) -> GraphMolCopy GraphMol. Cached properties will be removed.
MolecularGraph.querymol — Methodquerymol(atoms::Vector{Atom}, bonds::Vector{Bond}) -> GraphMolGenerate QueryMol that has the given atom objects and edge objects.
MolecularGraph.querymol — Methodquerymol() -> QueryMolGenerate empty QueryMol.
MolecularGraph.todict — Methodtodict(graph::GraphMol) -> Dict{String,Any}Convert molecule object into JSON compatible dictionary.