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 diagrams don't resize in height #2335

Closed
ChrisK91 opened this issue Aug 24, 2018 · 7 comments
Closed

Mermaid diagrams don't resize in height #2335

ChrisK91 opened this issue Aug 24, 2018 · 7 comments
Labels
bug 🐛 Issue concerns a bug. funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.

Comments

@ChrisK91
Copy link

ChrisK91 commented Aug 24, 2018

Issuehunt badges

Current behavior

When creating "tall" mermaid graphs, the graph area is not resized in height, resulting in unreadable text, both in preview and in output

Expected behavior

The graph area should be resizable, to allow creation of readable graphs. One option could be, to allow user specified dimensions for the created graph area.

Steps to reproduce

  1. create a new note
  2. Insert:
\`\`\`mermaid
graph TB
    c1-->c2
    c2-->c3
    c3-->c4
    c4-->c5
    c5-->c6
  1. Observe the resulting output:
    image

Environment

  • Version : 0.11.8
  • OS Version and name : Windows 10, display resolution 1080p

IssueHunt Summary

daiyam daiyam has been rewarded.

Backers (Total: $40.00)

Submitted pull Requests


Tips


IssueHunt has been backed by the following sponsors. Become a sponsor

@ChrisK91 ChrisK91 changed the title Mermaid diagrams don't resize in ehight Mermaid diagrams don't resize in height Aug 25, 2018
@ZeroX-DG ZeroX-DG added the bug 🐛 Issue concerns a bug. label Aug 26, 2018
@daiyam
Copy link
Contributor

daiyam commented Dec 25, 2018

@ChrisK91 here what I get with the PR #2585:
screenshot

@ttbadr
Copy link

ttbadr commented Dec 26, 2018

i had same issue in version 0.11.12, hope to fix it ,thanks

@dayfuaim
Copy link

dayfuaim commented Mar 4, 2019

Same still in 0.11.15 (OSX 10.10).
Needs to be fixed.

@qiuker521
Copy link

same still 0.11.15 WIN10
Needs to be fixed.

And thanks for your mermaid support.

image

@issuehunt-oss issuehunt-oss bot added the funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. label May 1, 2019
@IssueHuntBot
Copy link

@BoostIO has funded $40.00 to this issue.


@Flexo013
Copy link
Contributor

Flexo013 commented Jan 2, 2020

This is solved as of 0.14.0

@Flexo013 Flexo013 closed this as completed Jan 2, 2020
@issuehunt-oss
Copy link

issuehunt-oss bot commented Jan 3, 2020

@rokt33r has rewarded $36.00 to @daiyam. See it on IssueHunt

  • 💰 Total deposit: $40.00
  • 🎉 Repository reward(0%): $0.00
  • 🔧 Service fee(10%): $4.00

@Flexo013 Flexo013 added rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded. and removed 🎁 Rewarded on Issuehunt labels Feb 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. funded on issuehunt 💵 Issue has received funding that will be rewarded to the contributor solving this issue. rewarded on issuehunt 🎁 Issue has been resolved and a contributor has been rewarded.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants