Practic Force Directed - v1.0.0
    Preparing search index...
    • Orbit, pan and zoom the force graph camera, moving it to a view it is given and reporting the view it settles in. Switching camera type replaces the default camera, so render it keyed by view.camera.

      Parameters

      • props: {
            controlsRef: RefObject<CameraControls | null>;
            onViewChange?: (view: ForceGraphView) => void;
            view: ForceGraphView;
        }

        Camera control properties.

        • controlsRef: RefObject<CameraControls | null>

          Receives the camera controls, such as to fly the camera somewhere.

        • OptionalonViewChange?: (view: ForceGraphView) => void

          Receives the view once the camera stops, when it differs from view.

        • view: ForceGraphView

          View to show; the controls move there when it differs from where they are.

      Returns Element