Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document code #10

Open
pjotrp opened this issue Jun 27, 2014 · 2 comments
Open

Document code #10

pjotrp opened this issue Jun 27, 2014 · 2 comments

Comments

@pjotrp
Copy link
Contributor

pjotrp commented Jun 27, 2014

At this point it is not too clear (to a newcomer) how the framework operates. I suggest to add a doment in ./doc/design.md which describes how interaction between components is achieved and what you would need to do to add another interactive component.

In the code itself we should put a short description above every function - unless it is totally self-explanatory. For example, in dataframe.js it should state what a dataframe is, what it does and how it interacts, so that people can understand the code beneath without going into detail.

If we document this project well, the chance is higher that other people will start using and contributing to the source base.

@domitry
Copy link
Owner

domitry commented Jul 17, 2014

I try to add document about design, but I am going to change API from now, so before finishing gsoc term, sciruby blog will be useful instead of document. Thank you.

The progress of documented code:
./src/view

  • pane.js

./src/view/diagrams

  • bar.js
  • box.js
  • scatter.js
  • venn.js
  • line.js
  • histogram.js
  • diagrams.js
  • heatmap.js
  • multiple_venn.js
  • vectors.js

./src/view/components

  • axis.js
  • filter.js
  • legend_area.js
  • simple_legend.js
  • scale.js
  • tooltip.js
  • color_bar.js

./src/core/

  • extension.js
  • manager.js
  • parse.js

./src/utils

  • dataframe.js
  • simplex.js
  • color.js
  • ua_info.js

@domitry
Copy link
Owner

domitry commented Aug 17, 2014

Finished writing comments for documentation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants