You are here:
Vanderbilt Biostatistics Wiki
>
Main Web
>
StatComp
>
DocProcess
>
LaTeXCollab
>
CollabEdit
>
GoogleDocsForReproducibleManuscripts
(revision 2) (raw view)
Edit
Attach
---+Google Docs for reproducible manuscripts *Google Docs* is a cloud-based word processor which offers: * simultaneous editing * flexible file sharing * revision history * commenting / revision mode * automatic format convertion to .docx, .pdf, .html, and .txt formats. *Google Scripts* is a scripting language which allows users to extend the functionality of Google Docs. It is based on Javascript. ---++Desired Features <pre> <script src="raphael-min.js"></script> <div id="diagram">Diagram will be placed here</div> <script src="flowchart.js"></script> <script> var diagram = flowchart.parse('st=>start: Start:>http://www.google.com[blank]\n' + 'e=>end:>http://www.google.com\n' + 'op1=>operation: My Operation\n' + 'sub1=>subroutine: My Subroutine\n' + 'cond=>condition: Yes \n' + 'or No?\n:>http://www.google.com' + 'io=>inputoutput|request: catch something...\n' + '' + 'st->op1->cond\n' + 'cond(yes)->io->e\n' + // conditions can also be redirected like cond(yes, bottom) or cond(yes, right) 'cond(no)->sub1(right)->op1');// the other symbols too... diagram.drawSVG('diagram'); // you can also try to pass options: diagram.drawSVG('diagram', { 'x': 0, 'y': 0, 'line-width': 3, 'line-length': 50, 'text-margin': 10, 'font-size': 14, 'font-color': 'black', 'line-color': 'black', 'element-color': 'black', 'fill': 'white', 'yes-text': 'yes', 'no-text': 'no', 'arrow-end': 'block', 'scale': 1, // style symbol types 'symbols': { 'start': { 'font-color': 'red', 'element-color': 'green', 'fill': 'yellow' }, 'end':{ 'class': 'end-element' } }, // even flowstate support ;-) 'flowstate' : { // 'past' : { 'fill' : '#CCCCCC', 'font-size' : 12}, // 'current' : {'fill' : 'yellow', 'font-color' : 'red', 'font-weight' : 'bold'}, // 'future' : { 'fill' : '#FFFF99'}, 'request' : { 'fill' : 'blue'}//, // 'invalid': {'fill' : '#444444'}, // 'approved' : { 'fill' : '#58C4A3', 'font-size' : 12, 'yes-text' : 'APPROVED', 'no-text' : 'n/a' }, // 'rejected' : { 'fill' : '#C45879', 'font-size' : 12, 'yes-text' : 'n/a', 'no-text' : 'REJECTED' } } }); </script> </pre>
Edit
|
Attach
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit WikiText
|
More topic actions...
Topic revision: r2 - 03 Dec 2015,
ThomasStewart
Main
Department Home Page
Biostatistics Graduate Program
Vanderbilt University Medical Center
Main Web
Main Web Home
Search
Recent Changes
Changes
Topic list
Biostatistics Webs
Archive
Main
Sandbox
System
Register
|
Log In
Copyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki?
Send feedback