Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Fixed Fields in Diagramview (Read 4249 times)
Ktmr
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 24
Joined: Mar 27th, 2020
Fixed Fields in Diagramview
Dec 10th, 2020 at 6:24am
Print Post  

I want to make fixed fields in diagramview. User will drag item to this places. When the user drops the item, it will be added to the area near which it is.

Is it possible?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Fixed Fields in Diagramview
Reply #1 - Dec 10th, 2020 at 10:27am
Print Post  
Hi,

That sounds similar to what's shown in NodeCreated handler of SequenceDiagram sample project, where Message instances are aligned to the sequence line of respective Object instances. There are similar position changes / constraints shown in Lanes and Fishbone sample projects.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Ktmr
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 24
Joined: Mar 27th, 2020
Re: Fixed Fields in Diagramview
Reply #2 - Dec 23rd, 2020 at 1:23pm
Print Post  
I'd like to do diagram similar to the photo. Is it possible with mindfusion diagram?
  

test_sequence.png (Attachment deleted)
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Fixed Fields in Diagramview
Reply #3 - Dec 23rd, 2020 at 2:00pm
Print Post  
This looks close enough to what's shown in SequenceDiagram example too. Only instead of a background line for all nodes in same layer, you'd allow drawing actual links between the nodes. Also set node.AnchorPattern to specify number and positions of inputs / outputs, as it seems done in the image.
  
Back to top
 
IP Logged
 
Ktmr
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 24
Joined: Mar 27th, 2020
Re: Fixed Fields in Diagramview
Reply #4 - Dec 24th, 2020 at 2:09pm
Print Post  
How can I do a grid like in photo?

I am trying to merge sequence diagram and lanes samples. How can I change grid structure shown in lanes sample?
  
Back to top
 
IP Logged
 
Slavcho
YaBB Moderator
*****
Offline


tech.support

Posts: 3435
Joined: Oct 19th, 2005
Re: Fixed Fields in Diagramview
Reply #5 - Dec 28th, 2020 at 3:09pm
Print Post  
The built-in grid does not support padding space as in your image - you'd have to create some empty rows and columns for that (leave their header texts empty). You can hide grid lines by setting Style.*BorderPen properties to null.

Regards,
Slavcho
Mindfusion
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint