weirongxu / plantuml-previewer.vim

Vim / Neovim plugin for preview PlantUML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Safari - diagram not being shown in the middle

dylan-chong opened this issue · comments

Code

@startuml

(M) --> (O)
(C) --> (O)
(O) --> (L)
(O) --> (S)

@enduml

Expected:

screen shot 2018-05-19 at 5 56 14 pm

Actual:
screen shot 2018-05-19 at 5 56 36 pm

Note that browser window size has no effect on the behaviour

Closing the tab and opening a new one seems to fix the issue for some reason

When you save a puml file, the diagram does not auto-scaling. At present, it only be zoomed by the mouse wheel

For large diagram, autoscaling will interrupts work.
Maybe we should autoscaling the diagram when it looks very small.