Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Arrow Distance

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Leddy
Cacti User


Joined: 15 May 2005
Posts: 67

PostPosted: Tue Apr 15, 2008 12:22 am    Post subject: Arrow Distance Reply with quote

Is it possible to change the distance of the in/out arrows? i.e. the tip of each arrow touches, instead I'd like a user configurable distance between them. I didn't see anything in the .95b reference.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1958
Location: United Kingdom

PostPosted: Tue Apr 15, 2008 2:08 am    Post subject: Reply with quote

No it's not. You can change where the split between in and out happens (SPLITPOS), but not create a gap. If there were such a command, I think the gap would likely be defined as percent, rather than pixels...
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1958
Location: United Kingdom

PostPosted: Tue Apr 15, 2008 1:19 pm    Post subject: Reply with quote

What is it you're looking to do? I've been thinknig about this today...

Would one-way arrows solve it?
Back to top
Leddy
Cacti User


Joined: 15 May 2005
Posts: 67

PostPosted: Wed Apr 16, 2008 8:13 am    Post subject: Reply with quote

Howie wrote:
What is it you're looking to do? I've been thinknig about this today...

Would one-way arrows solve it?


Imagine a picture of a switch port with the arrow down and arrow up only touching the edges of the node instead of meeting in the middle.

Make sense?
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1958
Location: United Kingdom

PostPosted: Wed Apr 16, 2008 8:23 am    Post subject: Reply with quote

Leddy wrote:
Howie wrote:
What is it you're looking to do? I've been thinknig about this today...

Would one-way arrows solve it?


Imagine a picture of a switch port with the arrow down and arrow up only touching the edges of the node instead of meeting in the middle.

Make sense?


I guessed it might be that. Would this do it?

Code:

NODE P1
        LABEL Port 1
        POSITION 100 200
NODE p1a
        POSITION P1  0 -150

NODE p1b
        POSITION P1  0 150

LINK a
        NODES p1a P1:N
        LINKSTYLE oneway

LINK b
        NODES p1b P1:S
        LINKSTYLE oneway




weathermap.png
 Description:
 Filesize:  2.15 KB
 Viewed:  1142 Time(s)

weathermap.png


Back to top
Leddy
Cacti User


Joined: 15 May 2005
Posts: 67

PostPosted: Wed Apr 16, 2008 10:10 am    Post subject: Reply with quote

Quote:

I guessed it might be that. Would this do it?


Yes it does, that is awesome!
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1958
Location: United Kingdom

PostPosted: Wed Apr 16, 2008 10:19 am    Post subject: Reply with quote

You need to be a little careful here, because both of those are 'out' only arrows, so on one of them you'll need to do
Code:

TARGET blah.rrd:traffic_out:traffic_in

instead of
Code:

TARGET blah.rrd:traffic_in:traffic_out
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 93
Location: Australia

PostPosted: Mon Apr 21, 2008 9:27 pm    Post subject: Reply with quote

Howie wrote:

Would one-way arrows solve it?


Howie,

I would love to see one way arrows. The reason is we do a lot of multicast traffic which is uni-directional. I only display a BWLABEL for outbound traffic but I still have bidirectional arrows. Would be nice to have the option to display an 'inarrow' or 'outarrow'.

cheers!

Ben
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 1958
Location: United Kingdom

PostPosted: Tue Apr 22, 2008 1:53 am    Post subject: Reply with quote

Ummm. Scroll up.
Back to top
niobe
Cacti User


Joined: 10 Mar 2008
Posts: 93
Location: Australia

PostPosted: Tue Apr 22, 2008 1:56 am    Post subject: Reply with quote

Howie wrote:
Ummm. Scroll up.


hrmm, clearly I'm skimming too much
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group