Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Node-Edge : How can I draw 1 line between my switches instead of 4?

Solved2.15K views13th September 2021Dashboards node-edge
3
Jens Vandewalle [SLC] [DevOps Enabler]9.44K 10th September 2021 0 Comments

In Dashboards I’m using the node-edge component to visualize my network of leaf (blue) and spine  (purple) switches.

Now I want to only see 1 connection between my leaf and spine switches, even when there are multiple physical connections between them. What do I need to add to below query to achieve this?

Note that I still want to see the multiple connections between my spine switches.

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 13th September 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Gilles Bara [SLC] [DevOps Enabler]6.80K Posted 10th September 2021 0 Comments

The query for the singe connection can be done like this. You just need to provide a unique key for a single line. In this case this would be “Source Element ID-Destination Element ID”. Then some aggregation magic will filter out the duplicate rows. And with some regex operation you can extract the source and destination IDs.

For the one where multiple connections are still required you’ll need to use another query. And change the node-edge configuration to define which query needs to be used between what nodes.

Jens Vandewalle [SLC] [DevOps Enabler] Selected answer as best 13th September 2021
2
Jarno Lernou [SLC] [DevOps Enabler]5.00K Posted 10th September 2021 0 Comments

Hi Jens, I don’t know your exact query for the connections, but I think you need two different queries for them. The easiest way to validate everything is to visualize the query in a table form. By doing this, you will see all results from the query.

Assuming you are using the interface ID to identify nodes, you will need to find a filter that you only have one result (row) for each pair of connected interfaces.

Jarno Lernou [SLC] [DevOps Enabler] Answered question 10th September 2021
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs