mermaid/test/web.html

37 lines
925 B
HTML
Raw Normal View History

2014-11-13 19:53:31 +01:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
2014-11-13 19:53:31 +01:00
2014-12-02 18:36:16 +01:00
<script src="browserifyUsage.js"></script>
<script>
var mermaid_config = {
startOnLoad:true
}
</script>
<script>
function apa(){
console.log('CLICKED');
}
</script>
2014-11-13 19:53:31 +01:00
</head>
<body>
<div class="mermaid">
graph TD;
sq[Square shape]-->ci((Circle shape Начало));
2014-11-13 19:53:31 +01:00
</div>
<h1>Shapes</h1>
<div class="mermaid">
graph TD;
sq[Square shape]-->ci((Circle shape));
od>Odd shape]---|Two line<br>edge comment|ro;
od2>Really long text in an Odd shape]-->od3>Really long text with linebreak<br>in an Odd shape];
di{Diamond is <br/> broken}-->ro(Rounded<br>square<br>shape);
di-->ro2(Rounded square shape);
e((Inner circle))-->f;
style e red;
</div>
2014-11-13 19:53:31 +01:00
</body>
2014-12-02 18:36:16 +01:00
</html>