Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

picapica-org/jQuery.picaviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

321d797 · Mar 27, 2014

History

6 Commits
Mar 27, 2014
Mar 27, 2014
Mar 27, 2014
Mar 27, 2014
Mar 6, 2014
Mar 27, 2014
Mar 27, 2014
Mar 6, 2014
Mar 6, 2014
Mar 6, 2014
Mar 6, 2014
Mar 27, 2014
Mar 6, 2014
Mar 6, 2014
Mar 6, 2014

Repository files navigation

Picapica visualization

Visualization of a text and its text reuse sources.

Getting Started

Download the [production version][min] or the [development version][max].

[min]: comming soon [max]: comming soon

In your web page:

<script src="jquery.js"></script>
<script src="dist/jquery.picaviz.min.js"></script>
<script>
jQuery(function($) {
  $('.container').picaviz(model, options)
    //add event listeners: 
    .on('change', function(event, activeIds){
        console.log(activeIds);
    })
});
</script>

Documentation

Model

The model has to look like this:

[
  {
    id: unique identifier,
    source:{
      id: String,
      title: String,
      start: Number,
      end: Number
    }
    passage:{
      start: Number,
      end: Number
    }
  },
  ...
]

Parsed array for drawing

[
  {
    id : id,
    source: source object,
    posSource : Number
  }
]

Examples

(Coming soon)

Release History

(Nothing yet)

About

Visualization of a text and its text reuse sources.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published