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

Graph visualization #164

Open
vbauer opened this issue Apr 27, 2014 · 4 comments
Open

Graph visualization #164

vbauer opened this issue Apr 27, 2014 · 4 comments

Comments

@vbauer
Copy link

vbauer commented Apr 27, 2014

Could you please add graph support (for example: something based on graphviz)?

@adamzap
Copy link
Owner

adamzap commented Apr 27, 2014

What would the source for that look like? I mean how would you specify it in your slides?

Could you give an example input?

@vbauer
Copy link
Author

vbauer commented Apr 28, 2014

Yes, ofc:

I think it could be separate file or part of markdown file.

@nobicycle
Copy link

nobicycle commented Apr 14, 2018

I tried to implement mermaid graphing tool, similar to graphviz, using instructions found elsewhere:

Check out the latest release of Mermaid at https://github.com/knsv/mermaid/releases

Put mermaid.css and mermaid.min.js from the latest release (or master version, if you are feeling brave) into the presentation's directory.

In the presentation's html file after a link to remark's own JavaScript (something like <script src="./remark-latest.min.js"></script>) add:

 <script src="./mermaid.min.js"></script>
 <link rel="stylesheet" href="./mermaid.css">
 <script>mermaid.initialize({startOnLoad:true});</script>
In any slide, add the flowchart by putting graph description (on a separate line) like this:

<div class="mermaid">
graph LR
        A-->B
        B-->C
        C-->A
        D-->C
</div>

But had no luck.

@jgroom33
Copy link

jgroom33 commented Feb 4, 2019

gitlab supports mermaid as rendering from a codeblock.

This implementation should target the same

https://docs.gitlab.com/ee/user/markdown.html#mermaid

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

4 participants