Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) ContainerNodes (Read 14737 times)
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
ContainerNodes
Mar 26th, 2009 at 12:58pm
Print Post  
You have an estimate of when ContainerNodes implement?
I need this urgent appeal
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes
Reply #1 - Mar 26th, 2009 at 3:04pm
Print Post  
Which of your requests is most urgent now - groups as in Visio, multiple resize or ContainerNodes?
  
Back to top
 
IP Logged
 
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Re: ContainerNodes
Reply #2 - Mar 26th, 2009 at 3:28pm
Print Post  
Thanks for the question.
ContainerNodes is very urgent for me.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes
Reply #3 - Mar 27th, 2009 at 3:18pm
Print Post  
This adds a bare-bones implementation of ContainerNodes:
https://mindfusion.eu/_beta/diaglite_containers.zip

Currently it only lets you associate child nodes with containers like this:

Code
Select All
ContainerNode container = new ContainerNode(diagram);
diagram.Nodes.Add(container);
container.Bounds = new Rect(10, 10, 200, 100);

ShapeNode node1 = new ShapeNode(diagram);
diagram.Nodes.Add(node1);
node1.Bounds = new Rect(20, 20, 50, 30);

ShapeNode node2 = new ShapeNode(diagram);
diagram.Nodes.Add(node2);
node2.Bounds = new Rect(90, 40, 50, 30);

container.Add(node1);
container.Add(node2);
 



Now the user can select and move the container, and the child nodes will follow it.

We'll implement containers serialization next week, and will add some properties that will let you customize them.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Re: ContainerNodes
Reply #4 - Apr 4th, 2009 at 10:22pm
Print Post  
EXTREMELY URGENT !!!!!

Thanks, but unfortunately there are still bugs.

1 - I created a ContainerNode and put 2 DiagramNode in this, using the ContainerNode.Add
     When you create a desire DiagramLink between the two internal nodes, until I can, but the visual effect is very weird.
     Would be nice if the link starts a node within a ContainerNode the DigtamLink not tried to connect to ContainerNode.

2 --
ContainerNode node = new ContainerNode (diagram);
node.AddExpandButton () -> "Object reference not set to an instance of an object."

3 --
ContainerNode node = new ContainerNode (diagram);
node.AnchorPattern = new AnchorPattern () -> "Object reference not set to an instance of an object."

4 - In a given situation, must not accept the container node DigramLinks (Incoming and Outgoing). how can I do that?
  
Back to top
 
IP Logged
 
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Re: ContainerNodes
Reply #5 - Apr 4th, 2009 at 10:33pm
Print Post  
Too

How to define a shape for the container node?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes
Reply #6 - Apr 6th, 2009 at 10:53am
Print Post  
https://mindfusion.eu/_beta/diaglite_containersv2.zip

ContainerNode now inherits ShapeNode, and you can set its Shape, AnchorPattern, etc.

To stop links from being connected to some node, handle the LinkCreating and LinkModifying events and set Cancel = true when you detect that the target node should not allow connections to it.

I cannot understand your point 1.

Stoyan
  
Back to top
 
IP Logged
 
Sachin
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 85
Joined: Mar 14th, 2009
Re: ContainerNodes
Reply #7 - Apr 6th, 2009 at 12:52pm
Print Post  
HI

1.0.2.23517 there is no container Node
how to implement this one also pls send one example of containeR Node
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes
Reply #8 - Apr 6th, 2009 at 1:01pm
Print Post  
The archive above should contain V1.0.2.23027, and it has ContainerNodes.
  
Back to top
 
IP Logged
 
Sachin
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 85
Joined: Mar 14th, 2009
Re: ContainerNodes
Reply #9 - Apr 6th, 2009 at 1:05pm
Print Post  
send that one example of containe node

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes
Reply #10 - Apr 6th, 2009 at 1:13pm
Print Post  
  
Back to top
 
IP Logged
 
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Re: ContainerNodes
Reply #11 - Apr 6th, 2009 at 1:35pm
Print Post  
I can not download the file above
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ContainerNodes
Reply #12 - Apr 6th, 2009 at 1:55pm
Print Post  
Try with some download manager tool or with a different browser.

Stoyan
  
Back to top
 
IP Logged
 
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Re: ContainerNodes
Reply #13 - Apr 6th, 2009 at 2:11pm
Print Post  
I tried IE8, Firefox and FlashGet, but without success.
You can send in email?
  
Back to top
 
IP Logged
 
castefani
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 44
Joined: Feb 26th, 2009
Re: ContainerNodes
Reply #14 - Apr 6th, 2009 at 2:28pm
Print Post  
I created one and put ContainerNode within 2 ShapeNode (ShapeNode A and B ShapeNode)

- When I create a DiagramLink from A to B, are visible Anchors of the container and not the B
- After the DiagramLink established between A and B, can not select the most DiagramLink, but selects the ContainerNode
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint