Grouping of shapes post import


Author
Message
Steven Simonton
Steven Simonton
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 11
I have implemented code that utilizes the NDataSourceImporter class.

I have a need to group some of the individual vertex based on their relationships to one another.

My questions are:

1. Where is the most appropriate place to so this? Inside the OnVertexImported callback? Or the OnImportSuccesful callback? Or neither?
2. I am thinking that Grouping is the approach that I want to take. Is this the right thing to do?
3. Can someone provide with with some sample code?

I have attached a drawing of one of the charts that I am producing with the diagram/importer.

I will try and explain what needs to be the final product.

Given the image attached, what I need to do is group all of the blue rectangles (represent out bound optical ports) within the white box (a fiber optical splitter) which are connected by the dashed blue lines. There is also a single green box (which is the in bound optical port of the splitter) that needs to be grouped as well.

I apologize for the poor verbal description but it makes perfect sense to me as I have been looking at this for quite some time.....

Any help or guidance would be greatly appreciated......

Thanks,
Steve
Attachments
pon_network.jpg (106 views, 64.00 KB)
Reply
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K

Hi Steve,

thank you for the detailed description of your project. We have nocticed that the blue rectangles that you want to group are not on the same layout layer so when you group all of them some of the other shapes will overlap the group. Do you want to group all blue shapes or only the blue shapes that are on the layout layer of the white rectangle ?



Best Regards,
Nevron Support Team


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search