• Parameters

    • rdf: string

    Returns {
        autoungrabify: boolean;
        autounselectify: boolean;
        boxSelectionEnabled: boolean;
        elements: Promise<any>;
        layout: {
            animate: boolean;
            animationDuration: number;
            edgeElasticity: number;
            fit: boolean;
            gravity: number;
            gravityCompound: number;
            gravityRange: number;
            gravityRangeCompound: number;
            idealEdgeLength: number;
            initialEnergyOnIncremental: number;
            name: string;
            nestingFactor: number;
            nodeDimensionsIncludeLabels: boolean;
            nodeRepulsion: number;
            numIter: number;
            padding: number;
            quality: string;
            randomize: boolean;
            ready: (() => void);
            refresh: number;
            stop: (() => void);
            tile: boolean;
            tilingPaddingHorizontal: number;
            tilingPaddingVertical: number;
        };
        showOverlay: boolean;
        style: ({
            selector: string;
            style: {
                arrow-scale: number;
                background-color?: undefined;
                color: string;
                control-point-step-size: number;
                curve-style: "bezier";
                font-size: string;
                height?: undefined;
                label: string;
                line-color: string;
                overflow-wrap?: undefined;
                padding?: undefined;
                shape?: undefined;
                target-arrow-color: string;
                target-arrow-shape: "triangle";
                text-halign?: undefined;
                text-max-width?: undefined;
                text-opacity: number;
                text-valign?: undefined;
                text-wrap: "wrap";
                width: number;
            };
        } | {
            selector: string;
            style: {
                arrow-scale: number;
                background-color?: undefined;
                color: string;
                control-point-step-size?: undefined;
                curve-style?: undefined;
                font-size?: undefined;
                height?: undefined;
                label?: undefined;
                line-color: string;
                overflow-wrap?: undefined;
                padding?: undefined;
                shape?: undefined;
                target-arrow-color: string;
                target-arrow-shape?: undefined;
                text-halign?: undefined;
                text-max-width?: undefined;
                text-opacity?: undefined;
                text-valign?: undefined;
                text-wrap?: undefined;
                width: number;
            };
        } | {
            selector: string;
            style: {
                arrow-scale?: undefined;
                background-color: string;
                color: string;
                control-point-step-size?: undefined;
                curve-style?: undefined;
                font-size: string;
                height: string;
                label: string;
                line-color?: undefined;
                overflow-wrap: string;
                padding: string;
                shape: string;
                target-arrow-color?: undefined;
                target-arrow-shape?: undefined;
                text-halign: "center";
                text-max-width: string;
                text-opacity?: undefined;
                text-valign: "data(valign)";
                text-wrap: "wrap";
                width: string;
            };
        })[];
        wheelSensitivity: number;
    }

    • autoungrabify: boolean
    • autounselectify: boolean
    • boxSelectionEnabled: boolean
    • elements: Promise<any>
    • layout: {
          animate: boolean;
          animationDuration: number;
          edgeElasticity: number;
          fit: boolean;
          gravity: number;
          gravityCompound: number;
          gravityRange: number;
          gravityRangeCompound: number;
          idealEdgeLength: number;
          initialEnergyOnIncremental: number;
          name: string;
          nestingFactor: number;
          nodeDimensionsIncludeLabels: boolean;
          nodeRepulsion: number;
          numIter: number;
          padding: number;
          quality: string;
          randomize: boolean;
          ready: (() => void);
          refresh: number;
          stop: (() => void);
          tile: boolean;
          tilingPaddingHorizontal: number;
          tilingPaddingVertical: number;
      }
      • animate: boolean
      • animationDuration: number
      • edgeElasticity: number
      • fit: boolean
      • gravity: number
      • gravityCompound: number
      • gravityRange: number
      • gravityRangeCompound: number
      • idealEdgeLength: number
      • initialEnergyOnIncremental: number
      • name: string
      • nestingFactor: number
      • nodeDimensionsIncludeLabels: boolean
      • nodeRepulsion: number
      • numIter: number
      • padding: number
      • quality: string
      • randomize: boolean
      • ready: (() => void)
          • (): void
          • Returns void

      • refresh: number
      • stop: (() => void)
          • (): void
          • Returns void

      • tile: boolean
      • tilingPaddingHorizontal: number
      • tilingPaddingVertical: number
    • showOverlay: boolean
    • style: ({
          selector: string;
          style: {
              arrow-scale: number;
              background-color?: undefined;
              color: string;
              control-point-step-size: number;
              curve-style: "bezier";
              font-size: string;
              height?: undefined;
              label: string;
              line-color: string;
              overflow-wrap?: undefined;
              padding?: undefined;
              shape?: undefined;
              target-arrow-color: string;
              target-arrow-shape: "triangle";
              text-halign?: undefined;
              text-max-width?: undefined;
              text-opacity: number;
              text-valign?: undefined;
              text-wrap: "wrap";
              width: number;
          };
      } | {
          selector: string;
          style: {
              arrow-scale: number;
              background-color?: undefined;
              color: string;
              control-point-step-size?: undefined;
              curve-style?: undefined;
              font-size?: undefined;
              height?: undefined;
              label?: undefined;
              line-color: string;
              overflow-wrap?: undefined;
              padding?: undefined;
              shape?: undefined;
              target-arrow-color: string;
              target-arrow-shape?: undefined;
              text-halign?: undefined;
              text-max-width?: undefined;
              text-opacity?: undefined;
              text-valign?: undefined;
              text-wrap?: undefined;
              width: number;
          };
      } | {
          selector: string;
          style: {
              arrow-scale?: undefined;
              background-color: string;
              color: string;
              control-point-step-size?: undefined;
              curve-style?: undefined;
              font-size: string;
              height: string;
              label: string;
              line-color?: undefined;
              overflow-wrap: string;
              padding: string;
              shape: string;
              target-arrow-color?: undefined;
              target-arrow-shape?: undefined;
              text-halign: "center";
              text-max-width: string;
              text-opacity?: undefined;
              text-valign: "data(valign)";
              text-wrap: "wrap";
              width: string;
          };
      })[]
    • wheelSensitivity: number

Generated using TypeDoc