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

Mermaid or graphviz or similar support #852

Closed
tridian-tn opened this issue Jan 29, 2023 · 5 comments · Fixed by #853
Closed

Mermaid or graphviz or similar support #852

tridian-tn opened this issue Jan 29, 2023 · 5 comments · Fixed by #853
Assignees
Labels
feature-request New feature or request released Available in a released installer

Comments

@tridian-tn
Copy link

Is your feature request related to a problem? Please describe.
Diagram creation is very easy in markdown editors that support mermaid rendering. Zim wiki has a similar facility that uses graphviz. OneNote obviously has the facility to draw boxes etc and you can import Visio diagrams (if you own Visio), but it doesn't have the immediacy of creating a simple flowchart using basic text-based syntax.

Describe the solution you'd like

On the assumption (and it is an assumption!) that a renderer can be used from One Note (web based or embedded into the OneMore add on, or an exterior dependency to be installed), it would be fantastic to have the facility to have a source block containing mermaid (or graphviz) code, and a link that regenerates an image of the generated diagram that's inserted below the source block (a bit like the links for TOCs)

Describe alternatives you've considered
Buying Visio, or manually drawing and maintaining flowcharts with native OneNote boxes.

Additional context
Add any other context or screenshots about the feature request here.

THE FINE PRINT
This is a hobby project that I started for myself. I'm happy to take requests and will promise to consider each one carefully but offer no guarantees that I will ultimately agree to their usefulness or have time to implement any of them. If OneNote offers a "close enough" work-around then I will probably reject the request - you've been warned!

@stevencohn stevencohn added the feature-request New feature or request label Jan 29, 2023
@stevencohn
Copy link
Owner

Or PlantUML

@stevencohn stevencohn self-assigned this Jan 30, 2023
@stevencohn stevencohn linked a pull request Jan 30, 2023 that will close this issue
@stevencohn stevencohn added the next-release Addressed but not yet released label Jan 30, 2023
@jasonjac2
Copy link
Sponsor

Hi, I'm not familiar with PlanUML, but love the idea of being about to diagram from text to graphic and have tested mermaid in the past.

Just looked up PlantUML - it says you need java installed or is the intend to get the text -> .PNG conversion done in the cloud?

https://plantuml.com/starting

@stevencohn
Copy link
Owner

stevencohn commented Jan 30, 2023

Hi @jasonjac2. There is a nuget package that works with a remote API to the PlantUML service by default. So while you'll need to be connected to the internet to use this function, you will not need to install Java or any other dependencies.

@jasonjac2
Copy link
Sponsor

Excellent, thanks for that. So it will need a bit of a health warning about a round trip to to a 3rd party, so people don't commit their super secret plans. Are there any other tools / commands that use 3rd party cloud / API resources?

JAC

@stevencohn
Copy link
Owner

I added this section to the main Wiki page: https://github.com/stevencohn/OneMore/wiki#use-of-online-services-by-onemore

@stevencohn stevencohn added released Available in a released installer and removed next-release Addressed but not yet released labels Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request released Available in a released installer
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants