• Parameters

    • rdf: string

    Returns {
        autoungrabify: boolean;
        autounselectify: boolean;
        boxSelectionEnabled: boolean;
        elements: Promise<any>;
        layout: {
            alignmentConstraint: undefined;
            animate: boolean;
            animationDuration: number;
            animationEasing: undefined;
            edgeElasticity: ((_edge: any) => number);
            fit: boolean;
            fixedNodeConstraint: undefined;
            gravity: number;
            gravityCompound: number;
            gravityRange: number;
            gravityRangeCompound: number;
            idealEdgeLength: ((_edge: any) => number);
            infinite: boolean;
            initialEnergyOnIncremental: number;
            name: string;
            nestingFactor: number;
            nodeDimensionsIncludeLabels: boolean;
            nodeRepulsion: ((_node: any) => number);
            nodeSeparation: number;
            numIter: number;
            packComponents: boolean;
            padding: number;
            piTol: number;
            quality: string;
            randomize: boolean;
            relativePlacementConstraint: undefined;
            sampleSize: number;
            samplingType: boolean;
            step: string;
            tile: boolean;
            tilingPaddingHorizontal: number;
            tilingPaddingVertical: number;
            uniformNodeDimensions: boolean;
        };
        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: {
          alignmentConstraint: undefined;
          animate: boolean;
          animationDuration: number;
          animationEasing: undefined;
          edgeElasticity: ((_edge: any) => number);
          fit: boolean;
          fixedNodeConstraint: undefined;
          gravity: number;
          gravityCompound: number;
          gravityRange: number;
          gravityRangeCompound: number;
          idealEdgeLength: ((_edge: any) => number);
          infinite: boolean;
          initialEnergyOnIncremental: number;
          name: string;
          nestingFactor: number;
          nodeDimensionsIncludeLabels: boolean;
          nodeRepulsion: ((_node: any) => number);
          nodeSeparation: number;
          numIter: number;
          packComponents: boolean;
          padding: number;
          piTol: number;
          quality: string;
          randomize: boolean;
          relativePlacementConstraint: undefined;
          sampleSize: number;
          samplingType: boolean;
          step: string;
          tile: boolean;
          tilingPaddingHorizontal: number;
          tilingPaddingVertical: number;
          uniformNodeDimensions: boolean;
      }
      • alignmentConstraint: undefined
      • animate: boolean
      • animationDuration: number
      • animationEasing: undefined
      • edgeElasticity: ((_edge: any) => number)
          • (_edge: any): number
          • Parameters

            • _edge: any

            Returns number

      • fit: boolean
      • fixedNodeConstraint: undefined
      • gravity: number
      • gravityCompound: number
      • gravityRange: number
      • gravityRangeCompound: number
      • idealEdgeLength: ((_edge: any) => number)
          • (_edge: any): number
          • Parameters

            • _edge: any

            Returns number

      • infinite: boolean
      • initialEnergyOnIncremental: number
      • name: string
      • nestingFactor: number
      • nodeDimensionsIncludeLabels: boolean
      • nodeRepulsion: ((_node: any) => number)
          • (_node: any): number
          • Parameters

            • _node: any

            Returns number

      • nodeSeparation: number
      • numIter: number
      • packComponents: boolean
      • padding: number
      • piTol: number
      • quality: string
      • randomize: boolean
      • relativePlacementConstraint: undefined
      • sampleSize: number
      • samplingType: boolean
      • step: string
      • tile: boolean
      • tilingPaddingHorizontal: number
      • tilingPaddingVertical: number
      • uniformNodeDimensions: boolean
    • 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