Constructors

Properties

edges: Edge[] = []
nodes: Record<string, Node> = {}

Methods

  • Parameters

    • Optionalparams: {
          curveStyle?: string;
          nodeColors?: Record<string, string>;
          withStyles?: boolean;
          wrapLabelNWords?: number;
      }
      • OptionalcurveStyle?: string
      • OptionalnodeColors?: Record<string, string>
      • OptionalwithStyles?: boolean
      • OptionalwrapLabelNWords?: number

    Returns string

  • Parameters

    • Optionalparams: {
          backgroundColor?: string;
          curveStyle?: string;
          nodeColors?: Record<string, string>;
          withStyles?: boolean;
          wrapLabelNWords?: number;
      }
      • OptionalbackgroundColor?: string
      • OptionalcurveStyle?: string
      • OptionalnodeColors?: Record<string, string>
      • OptionalwithStyles?: boolean
      • OptionalwrapLabelNWords?: number

    Returns Promise<Blob>