Options
All
  • Public
  • Public/Protected
  • All
Menu

This is a fix for the problem, that the constructor's "name" attribute is not visible in ES6:

The 'name' property is part of ES6 that's why you don't see it in lib.d.ts. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/name ... does this collide with anything?

Hierarchy

  • SVGSerializable

Implemented by

Index

Properties

Properties

Readonly className

className: string

Required to generate proper CSS classes and other class related IDs.

toSVGString

toSVGString: (options: { className?: string }) => string

Convert this vertex to SVG code.

method

toSVGString

param

An optional set of options, like 'className'.

returns

A string representing the SVG code for this vertex.

instance
memberof

Vertex

Type declaration

    • (options: { className?: string }): string
    • Parameters

      • options: { className?: string }
        • Optional className?: string

      Returns string

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Private property
  • Private method
  • Static property
  • Static method

Generated using TypeDoc