Home
Classes
ArrayHelper
clone
contains
containsAll
count
deepCopy
each
get
intersection
merge
print
remove
removeAll
removeUnique
sortByAtomicNumberDesc
toggle
unique
Atom
getDuplicateAtomicNumbers
hasDuplicateAtomicNumbers
sortByAtomicNumber
addAnchoredRing
addNeighbouringElement
attachPseudoElement
backupRings
canRotate
getAtomicNumber
getAttachedPseudoElements
getAttachedPseudoElementsCount
getMaxRingbond
getOrder
getRingbondCount
hasRing
hasRingbonds
haveCommonRingbond
isInRing
maxCommonRingbond
neighbouringElementsEqual
restoreRings
setOrder
CanvasWrapper
clear
drawAromaticityRing
drawBall
drawCircle
drawDashedWedge
drawDebugPoint
drawDebugText
drawLine
drawText
drawWedge
getColor
reset
scale
setTheme
updateSize
Drawer
addRing
addRingConnection
areConnected
areVerticesInSameRing
backupRingInformation
chooseSide
clearPositions
createBridgedRing
createNextBond
createRing
draw
drawEdges
drawVertices
edgeRingCount
extend
forceLayout
getBondCount
getBridgedRingRings
getBridgedRings
getClosestEndpointVertex
getClosestVertex
getCommonRingbondNeighbour
getCommonRings
getCurrentCenterOfMass
getCurrentCenterOfMassInNeigbourhood
getEdgeNormals
getEdgeWeight
getFusedRings
getHeavyAtomCount
getLargestOrAromaticCommonRing
getNonRingNeighbours
getOverlapScore
getRing
getRingbondType
getRingConnections
getRingCount
getSmallestCommonRing
getSpiros
getSubringCenter
getSubtreeOverlapScore
getTotalOverlapScore
getTreeDepth
getVerticesAt
hasBridgedRing
initPseudoElements
initRings
isEdgeInAromaticRing
isEdgeInRing
isEdgeRotatable
isPartOfBridgedRing
isPointInRing
isRingAromatic
isRingConnection
position
printRingInfo
removeRing
removeRingConnection
removeRingConnectionsBetween
resolvePrimaryOverlaps
resolveSecondaryOverlaps
restorePositions
restoreRingInformation
rotateSubtree
traverseTree
Edge
getBondCount
Graph
_ccCountDfs
getConnectedComponentCount
_bridgeDfs
_init
_initInfos
addEdge
addVertex
clear
getAdjacencyList
getAdjacencyMatrix
getBridges
getComponentsAdjacencyMatrix
getEdge
getEdgeList
getLargestCycleInSubgraph
getSubgraphAdjacencyList
getSubgraphAdjacencyMatrix
getVertexList
hasEdge
Hanser
Line
clone
getAngle
getLeftChiral
getLeftElement
getLeftVector
getLength
getNormals
getRightChiral
getRightElement
getRightVector
rotate
rotateToXAxis
setLeftVector
setRightVector
shorten
shortenFrom
shortenLeft
shortenRight
shortenTo
MathHelper
apothem
centralAngle
innerAngle
meanAngle
polyCircumradius
round
toDeg
toRad
Ring
getRing
allowsFlip
clone
contains
eachMember
getAngle
getDoubleBondCount
getOrderedNeighbours
getPolygon
getSize
isBenzeneLike
setFlipped
thisOrNeighboursContain
RingConnection
getNeighbours
getVertices
isBridge
addVertex
isBridge
updateOther
SSSR
areSetsEqual
bondsToAtoms
getEdgeCount
getEdgeList
getPathIncludedDistanceMatrices
getRingCandidates
getRings
getSSSR
isSupersetOf
matrixToString
pathSetsContain
Vector2
add
angle
clockwise
clone
distance
distanceSq
divide
getRotateAwayFromAngle
getRotateToAngle
getRotateTowardsAngle
invert
isInPolygon
length
multiply
multiplyScalar
normalize
normalized
rotate
rotateAround
rotateAwayFrom
rotateTo
sameSideAs
subtract
toString
whichSide
add
angle
divide
dot
midpoint
multiply
multiplyScalar
normals
scalarProjection
subtract
threePointangle
units
Vertex
addChild
clone
equals
getAngle
getCommonNeighbours
getDrawnNeighbours
getNeighbourCount
getNeighbours
getNextInRing
getSpanningTreeNeighbours
getTextDirection
isNeighbour
isTerminal
setParentVertexId
setPosition
setPositionFromVector
Global
SmilesDrawer
Hanser
SmilesDrawer
.
Hanser
A class encapsulating the functionality to find the rings in the graph using Hansers algorithm.
Constructor
new Hanser
()
Source:
Hanser.js
,
line 2