Idris2Doc : CyBy.Draw.Draw

CyBy.Draw.Draw

(source)
Drawing Utilities

Definitions

fillCircle : SVGColor->PointId->Double->SVGNode
Totality: total
Visibility: export
roundedRect : CoreDims=>PointId->PointId->List (SVGAttribute"rect") ->SVGNode
Totality: total
Visibility: export
fillRect : CoreDims=>SVGColor->PointId->PointId->SVGNode
Totality: total
Visibility: export
outlineRect : CoreDims=>SVGColor->PointId->PointId->SVGNode
Totality: total
Visibility: export
outlineRectD : CoreDims=>SVGColor->PointId->PointId->SVGNode
Totality: total
Visibility: export
singleLine : SVGColor->PointId->PointId->SVGNode
Totality: total
Visibility: export
text : CoreDims=>Text (PointId) ->SVGNode
Totality: total
Visibility: export
recordNodes : Type
  We group the different layers of the drawing - carbon skeleton, atom labels
background highlights - in lists of nodes wrapped by a `<g>` element
listing the key properties of the group.

Snoc lists are the natural choice for assembling these groups of
nodes from head to tail.

Totality: total
Visibility: public export
Constructor: 
NS : SnocListPathCmd->SnocListSVGNode->SnocListSVGNode->SnocListSVGNode->Nodes

Projections:
.bgShapes : Nodes->SnocListSVGNode
  Background shapes mainly use for selected or otherwise highlighted
atoms and bonds.
.skeleton : Nodes->SnocListPathCmd
  The skeleton of the molecule: All bonds collected in a single `<path>`
element except upward bonds, which are polygons rather than lines.
.txtLbls : Nodes->SnocListSVGNode
  All text labels (including charges, implici hydrogens,
mass numbers, and abbreviations)
.wedges : Nodes->SnocListSVGNode
  Upward wedges
.skeleton : Nodes->SnocListPathCmd
  The skeleton of the molecule: All bonds collected in a single `<path>`
element except upward bonds, which are polygons rather than lines.

Totality: total
Visibility: public export
skeleton : Nodes->SnocListPathCmd
  The skeleton of the molecule: All bonds collected in a single `<path>`
element except upward bonds, which are polygons rather than lines.

Totality: total
Visibility: public export
.bgShapes : Nodes->SnocListSVGNode
  Background shapes mainly use for selected or otherwise highlighted
atoms and bonds.

Totality: total
Visibility: public export
bgShapes : Nodes->SnocListSVGNode
  Background shapes mainly use for selected or otherwise highlighted
atoms and bonds.

Totality: total
Visibility: public export
.wedges : Nodes->SnocListSVGNode
  Upward wedges

Totality: total
Visibility: public export
wedges : Nodes->SnocListSVGNode
  Upward wedges

Totality: total
Visibility: public export
.txtLbls : Nodes->SnocListSVGNode
  All text labels (including charges, implici hydrogens,
mass numbers, and abbreviations)

Totality: total
Visibility: public export
txtLbls : Nodes->SnocListSVGNode
  All text labels (including charges, implici hydrogens,
mass numbers, and abbreviations)

Totality: total
Visibility: public export
init : Nodes
Totality: total
Visibility: export
0TNodes : Type
Totality: total
Visibility: public export
toNodes : DrawSettings=>TNodes->ListSVGNode
Totality: total
Visibility: export
label : DrawSettings=>CDIGraphk->Fink->Label
Totality: total
Visibility: export
labels : DrawSettings=>CDIGraphk->Labelsk
Totality: total
Visibility: export
drawMolecule : DrawSettings=>CDGraph->ListSVGNode
Totality: total
Visibility: export
rotateTemplScene : DrawSettings=>PointMol->PointMol->ListSVGNode
Totality: total
Visibility: export