Skip to content

tomalec/a-dot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

<a-dot>

Dot graph visualization component for Polymer

Maintained by Cong Liu.

Demo

Check it live.

Usage

  1. Import Web Components' polyfill:

    <script src="//cdnjs.cloudflare.com/ajax/libs/polymer/0.0.20131107/polymer.min.js"></script>
  2. Import vis.js:

    <script src="//visjs.org/vis.js"></script>
  3. Import Custom Element:

    <link rel="import" href="src/a-dot.html">
  4. Start using it!

    <a-dot dot="digraph {1 -> 1 -> 2; 2 -> 3; 2 -- 4; 2 -> 1 }"></a-dot>

Options

Attribute Options Default Description
dot string "" Dot graph

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

License

Apache License 2.0

About

Dot graph visualization component for Polymer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 100.0%