0.50.5 • Published 4 years ago

@dvl-fw/mav-embed v0.50.5

Weekly downloads
16
License
MIT
Repository
github
Last release
4 years ago

mav-embed

NPM Version Shipping faster with ZenHub Build Status GitHub last commit license View Demo Quality Gate Status Documentation Status

Web Components for embedding DVL-FW and Make-A-Vis visualizations.

Change Log

See the ChangeLog for the latest developments.

Usage

Basic embedding

<!doctype html>
<html lang="en">

<!-- The containing element must have a non-percentage height -->
<body style="height: 100vh">
  <!-- Add mav-embed javascript bundle -->
  <script src="https://cdn.jsdelivr.net/npm/@dvl-fw/mav-embed/main-es5.js" nomodule></script>
  <script src="https://cdn.jsdelivr.net/npm/@dvl-fw/mav-embed/main-es2015.js" type="module"></script>

  <!-- Add a project -->
  <mav-project id="proj1" href="path/to/project.yml"></mav-project>

  <!-- Add a visualization referencing the project -->
  <mav-visualization project="#proj1" index="0"></mav-visualization>

  <!-- Add a legend for the visualization -->
  <mav-legend project="#proj1" index="0"></mav-legend>
</body>
</html>

Embedded using bl.ocks.org

See https://bl.ocks.org/bherr2/2e3e6c999575fe0fcd6cfaab42020e1b. More examples: https://bl.ocks.org/bherr2

Credits

Make-a-Vis is developed at the Cyberinfrastructure for Network Science Center at Indiana University

0.50.5

4 years ago

0.50.4

4 years ago

0.50.3

4 years ago

0.50.1

4 years ago

0.50.2

4 years ago

0.50.0

4 years ago

0.20.1

5 years ago

0.20.0

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago