Profile Picture

Document redraw problems

Posted By Marius Bucur 14 Years Ago
Author
Message
Marius Bucur
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 12, Visits: 1
I am in need to place the label of my shapes outside of the shape and i suspect that label is outside of the shape bounds too. I am doing that by manipulating the offset of the text style.
Unfortunately, when i am moving the shape in diagram, a trail of my shape remains draw on the diagram resulting in an very ugly effect as you can see in the image.

The image is tested with Shape Labels example from Diagram Examples. I just modified the Text style of blue shape (right one with rotated labels) offsetting on the Y axis 65 points so the small text "Rotated Label 1, Wrapped" is just outside of the shape.

Is there any way to place my label outside the shape paths and not seen this ugly effect?

Attachments
trails.png (92 views, 38.00 KB)
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

We are currently working on this issue and it will be fixed soon. Until then when you want some text outside a shape you may use the following workaround:

 

1.       Create your shape

2.       Create a text shape that holds the text you want

3.       Position the text shape

4.       Group both shapes

 



Best Regards,
Nevron Support Team



Marius Bucur
Posted 14 Years Ago
View Quick Profile
Junior Member

Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)Junior Member (12 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 12, Visits: 1
That was my first attempt to solve the problem, unfortunately my shapes are part of a graph modified dynamically by the user and when applying spring layout, the group explodes, sending the text shape far away from his shape.

Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

To avoid this specify the shapes you want to layout (i.e. only the groups you want to layout and the edges which connect them). Take a look at the Document Object Model -> Groups -> Group Layout example (and especially on the LayoutGroups method) which comes with the diagramming component for a sample implementation.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic