murongqimiao / DAG-diagram

VUE plugin for DAG graph , u can use it 4 flow diagram or machine learning visualization
https://murongqimiao.github.io/DAG-diagram/#/example
MIT License
403 stars 124 forks source link

Right-click menu is sometimes blocked #13

Closed hsywhu closed 4 years ago

hsywhu commented 5 years ago

The right-click menu will be partially hidden if the node is at the bottom or the right side of the canvas since the menu is always expanded at the bottom right of the click place. image image

Is it possible to change the place to show the menu in these situations? For example, make the menu shows on top of the click place if it's near the bottom of the canvas.

murongqimiao commented 4 years ago

halo ! sorry so late to reply~ i suppose that the area beside the SVG container need show instead of cover by node right menu. SVG container is a window to show DAG graph and other area has their own things to do , if you need to see the whole menu ~ press left mouse and move the graph~

obvious, if u had to do it ( eg: pushing by your PM ? LOL) u can change the z-index and make element css into overflow: visible , and so on ~

if u can`t do it yourself , can join our QQ group find some help 793841737

hsywhu commented 4 years ago

Thanks!