Calculate the empty area around the element to add the IndependentTag

Calculate the empty area around the element to add the IndependentTag

SimonaQQ
Advocate Advocate
581 Views
1 Reply
Message 1 of 2

Calculate the empty area around the element to add the IndependentTag

SimonaQQ
Advocate
Advocate

Hello,

This is my Revision Cloud and I want to calculate the empty area around it to add the IndependentTag.
Of course, I can now add IndependentTag by selecting a point on the Revision Cloud with my mouse. But automatically adding the IndependentTag in the blank space is a little smarter, don't you think?
Is that possible? Is there an algorithm for that?
Love you

Revision CloudRevision Cloud

0 Likes
582 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Here is one pretty smart solution to achieve that, with pointers to other more advanced ideas:

 

https://thebuildingcoder.typepad.com/blog/2021/02/splits-persona-collector-region-tag-modification.h...

  

More complex approaches are discussed on the Internet under the term 'map labelling algorithms'.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes