Arokip / flutter_diagram_editor

Fllutter diagram editor library
MIT License
116 stars 38 forks source link

Allow to connect a component to a link. #26

Closed shujaatak closed 3 years ago

shujaatak commented 3 years ago

For example, if there is a link connecting two components and now a user want to connect an another component with that same link like this(useful for circuit diagrams etc):

Screenshot from 2021-04-11 14-13-22

Arokip commented 3 years ago

In my opinion, user of the library (who would like to create circuit diagram editor) can create a new type of a Component called for example 'link junction'. The component can be small and black. Three (or more) different links can be connected to it, so it will behave as a link crossroads and there is no need to add this specific option to the library.

I want to remain the library light and simple. It still can be quite powerful if you come up with good usage of it.

shujaatak commented 3 years ago

Superb thoughts!

shujaatak commented 3 years ago

In my opinion, user of the library (who would like to create circuit diagram editor) can create a new type of a Component called for example 'link junction'. The component can be small and black. Three (or more) different links can be connected to it, so it will behave as a link crossroads and there is no need to add this specific option to the library.

I agree that there is probably no need to add this specific option to the library but having this in the demo would make demo much more verbose and appealing.

shujaatak commented 3 years ago

Oh wonderful! You have already added this feature in the demo! new screenshot