Author Topic: Data Graphics on connector  (Read 1196 times)

0 Members and 1 Guest are viewing this topic.

dpetrov

  • Jr. Member
  • **
  • Posts: 10
Data Graphics on connector
« on: September 20, 2019, 05:53:25 PM »
Hi guys,

I have some troubles getting data graphics properly positioned on a connector. In short, I want the shape data to be displayed as a clear text at both ends of it. However, whatever positions I try to setup it's pretty much the same - they're always positioned in the middle, so I have to manually adjust them where I want em. The problem with that is that every time I move shapes - the "labels" just fly way off the connector and I literally loose them within the diagram (i have a fairly big one with 100+ links and it's a nightmare).

Do you have any idea how can I achieve this for all the connection form (e.g. straight, free, squared) either being vertical or horizontal, I want always the labels to be positioned at the very end of both sides of the connector.

Hope this makes sense.

dpetrov

  • Jr. Member
  • **
  • Posts: 10
Re: Data Graphics on connector
« Reply #1 on: September 20, 2019, 05:58:28 PM »
And here is what happens if I try to move them manually. I just copy->pasted the same shapes to demonstrate what's happening if I move shapes in different places. As you can see, if Shapes A and B are vertical - then the labels are completely off (swapped sides)

Hope that makes sense ..

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • Ideas Visio-lized into solutions
Re: Data Graphics on connector
« Reply #2 on: September 20, 2019, 06:01:30 PM »
How about a real Visio file upload?
Visio 2019 Pro

dpetrov

  • Jr. Member
  • **
  • Posts: 10
Re: Data Graphics on connector
« Reply #3 on: September 20, 2019, 06:15:38 PM »
That'll make sense ;-) See attached.


wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • Ideas Visio-lized into solutions
Visio 2019 Pro

Nikolay

  • Hero Member
  • *****
  • Posts: 930
    • UnmanagedVisio
Re: Data Graphics on connector
« Reply #5 on: September 21, 2019, 02:30:36 AM »
I don't think that "data graphics" were designed with connectors in mind.
Means, data graphics are supposed to be used on 2D shapes, like rectangles and circles. Trying to apply them to connectors looks like stepping into uncharted territory.

I'd recommend you use normal labeled connectors (like the ones @wapperdude suggested - although those are pretty advanced, you could find some stock ones in Visio built-in stencils). Surely you can bind them to the shape data as well so that the labels are populated from the data. Note that if you follow this path then you probably will face a question how to replace 100+ of connectors with custom ones. I don't know the answer to that, unfortunately. I would go with a macro that does the modifications to the existing connectors, I think this could be the least destructive way.
« Last Edit: September 21, 2019, 07:07:04 AM by Nikolay »

Yacine

  • Hero Member
  • *****
  • Posts: 2697
Re: Data Graphics on connector
« Reply #6 on: September 21, 2019, 05:32:21 AM »
Sorry to always and only come back with my own tools.   :o
The tool recommended in this post: http://visguy.com/vgforum/index.php?topic=8922.msg39197;topicseen#msg39197
works also for connectors.
Yacine

wapperdude

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3794
  • Ideas Visio-lized into solutions
Re: Data Graphics on connector
« Reply #7 on: September 21, 2019, 09:19:11 AM »
@Yacine:  there it is!  I looked, missed it. 
Visio 2019 Pro

dpetrov

  • Jr. Member
  • **
  • Posts: 10
Re: Data Graphics on connector
« Reply #8 on: September 23, 2019, 02:46:39 AM »
Thanks everyone for your prompt replies!

I'll check Yacine's tool ;-)

Danny

Yacine

  • Hero Member
  • *****
  • Posts: 2697
Re: Data Graphics on connector
« Reply #9 on: September 23, 2019, 12:53:08 PM »
@Yacine:  there it is!  I looked, missed it. 

I'm feeling "albern" (https://dict.leo.org/englisch-deutsch/albern). Couldn't decide on which of the 24 adjectives is the most appropriate.
But cool, we're going to find a way to handle this kind of situations - or get accustomed. :D
« Last Edit: September 23, 2019, 12:55:57 PM by Yacine »
Yacine