Skip to content

isa/pekmez.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pekmez.js

Build Status

Build Status

Installation

If you want to develop extensions for pekmez.js make sure that you have nodeJS, coffee-script, mocha, sinon, domino and should:

$ brew install nodejs
$ npm install -g coffee-script mocha should sinon domino

Assuming you have the correct NPM setup.. If not, do something like this:

echo 'export NODE_PATH="'$(npm root -g)'"' >> ~/.bashrc

To execute unit tests:

$ mocha

Usage

To use pekmez.js with your web site, include your diagram scripts within the script tags and define a placeholder like below:

<html>
   <head>
      <script href="pekmez.js" type="text/javascript"></script>
      <script type="text/pekmez" data-type="network">
         A -> LB;
         B -> LB;
      </script>
   </head>
   <body>
      <div id="diagram-1"></div>
   </body>
</html>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published