Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/GAP/pkg/francy/js/packages/francy/src/render/   (GAP Algebra Version 4.15.1©)  Datei vom 17.3.2023 mit Größe 819 B image not shown  

Quelle  factory.js

  Sprache: JAVA
 

import {
  Decorators,
  Renderer
} from 'francy-core';
import CanvasFrame from './frame-canvas';
import OutputFrame from './frame-output';

export default class Factory extends Renderer {

  constructor({appendTo, callbackHandler}, context) {
    super({appendTo: appendTo, callbackHandler: callbackHandler}, context);
    this.frame = new CanvasFrame(this.options, this.context);
    this.output = new OutputFrame(this.options, this.context);
  }

  @Decorators.Data.notEmpty()
  render() {
    let graph = undefined;

    if (this.data.canvas) {
      graph = this.frame.load(this.data).render();
    }

    if (this.data.output) {
      if (!graph) {
        graph = this.output.load(this.data).render();
      } else {
        graph.then(this.output.load(this.data).render);
      }
    }

    return graph;
  }
}

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.16 Sekunden  (vorverarbeitet am  2026-06-18) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.