Is a bubble like Diagram like this possible as a view ?

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

Is a bubble like Diagram like this possible as a view ?

Post by liveme » Wed Mar 03, 2021 4:18 am

(I'm posting here for if its already possible with LC 9.6.1, than it would not be a requested feature)
I"m wondering if LC could allow the designing of a diagram similar to this sample ?
maybe using SVG...

- uses round shape bubbles. dif size.
- contain a 1,2 line text
- can be linked to another bubble with a line Hor, Vert or 45 deg.
- can use colors
ideal behaviour :
when displayed horizontaly in a rectangle frame, one could swipe to the side, and see other (hidden) bubbles being dispayed.
without visibly changing of card, some sort of never ending sliding... up to some point.
(possible zooming)

see picture for layout : text content is irrelevant, just found this sample from the web.

THANKS for any tricks :wink:

Image
Attachments
bubble-diagram-example.jpg

bogs
Posts: 5480
Joined: Sat Feb 25, 2017 10:45 pm

Re: Is a bubble like Diagram like this possible as a view ?

Post by bogs » Wed Mar 03, 2021 11:42 am

You can do this with what exists in Lc already using either pngs or graphics for the bubbles / ovals, and generating the line graphic using the loc of the graphics your connecting, then setting the lines to the lowest layers.

Group the whole thing for the 'never ending scroll' part.
Image

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

Re: Is a bubble like Diagram like this possible as a view ?

Post by liveme » Wed Mar 03, 2021 7:16 pm

Thanks ! I'll see how far I can do that... !
:wink:

Post Reply