Skip to content

Live demo for a SPARC simulation-based dataset

This is a live demo of the SimulationVuer component for a SPARC simulation-based dataset. Here, dataset 135 is used. Click on the Run Simulation button to run the simulation through o2S2PARC. You need to click on that button again whenever you modify some of the model parameters.

Live demo

Code preview

js
  <div class="your-outer-container">
    <SimulationVuer
      :apiLocation="apiLocation"
      :id="id"
    />
  </div>

  <script>
    import { SimulationVuer } from "@abi-software/simulationvuer";

    export default {
      components: { SimulationVuer },
      data: function () {
        return {
          apiLocation: API_LOCATION,
          id: 135,
        }
      }
    }
  </script>