1.1.17 • Published 2 years ago

dragagram v1.1.17

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

dragaGram

a javascript diagram library with drag elements.

Draggable

You start with creating an element in html (or any other language your framework might have). Then you call document.getElementByID(elemID). Create a variable using let variable = new DragB(element) and you are on your way. Now the element you selected will be a draggable box.

There is the possibility of using a custom HTML tag. For this you need to include %%geen idee wat de filename is%%. It will behave as a draggable div. While this might be handy, some frameworks might not like it and will need a lot of configuration to make it work. In this case it would be much easier to use the method above

ConnectionPoints

This is an element that will create a line When dragging from it and will be able to connect to another ConnectionPoint. When they are connected, the points will know they are.

There is a custom HTML tag for connectionPoints but you should almost never use it. The core implementation you probably want does not work using this way.

1.1.17

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.3

2 years ago