Skip to content

Commit

Permalink
Version 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
knsv committed Nov 16, 2014
1 parent 214bb77 commit 46b45a8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
22 changes: 9 additions & 13 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
{
"name": "mermaid",
"version": "0.0.1",
"version": "0.1.0",
"authors": [
"knsv <knut@sveido.com>"
],
"description": "Markdownish syntax for generating diagrams",
"main": "mermaid.js",
"moduleType": [
"amd"
],
"description": "Markdownish syntax for generating flowcharts",
"main": "dist/mermaid.slim.js",
"keywords": [
"diagram",
"markdown"
"markdown",
"flowchart"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"vendor",
"test",
"tests"
],
"devDependencies": {
"jasmine": "~2.0.4",
"requirejs": "~2.1.15",
"raphael": "~2.1.2",
"snap": "*",
"Snap.svg": "~0.3.0",
"dagre": "~0.6.4",
"dagre-d3": "~0.3.2"
"dagre": "0.6.2",
"d3": "3.3.8",
"dagre-d3": "0.3.2"
}
}
16 changes: 4 additions & 12 deletions test/mermaid.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!DOCTYPE html>
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script src="../lib/dagre-d3.min.js"></script>
<script data-main="init.js" src="../vendor/requirejs/require.js"></script>
<script src="../vendor/d3/d3.js"></script>
<script src="../vendor/dagre-d3/dist/dagre-d3.core.js"></script>
<script src="../dist/mermaid.slim.js"></script>
<style id="css">
/* This sets the color for "TK" nodes to a light blue green. */
g.type-TK > rect {
Expand Down Expand Up @@ -31,17 +31,9 @@
</head>
<body>
<div class="mermaid">
graph LR;
A-->B;
B-->D;
A[AnnaStina]-->C[Målar skåp];
C-->D(Bjarke trummar på bordet);
B-->C{Obs-gränby};
</div>
<div class="mermaid">
a[Lasa bok]-->b;
b{Fundera}-->c(Vidar)|Klocka;
b-->d(Bjarke går)|Lego;
style a fill:#6ff,stroke:#f66,stroke-width:2px,stroke-dasharray: 5, 5;
</div>
</body>
</html>

0 comments on commit 46b45a8

Please sign in to comment.