Code Monkey home page Code Monkey logo

aci-model-viewer's Introduction

aci-model-viewer

Visualizes the ACI Model of a given configuration using D3.js

alt tag

Note: This project is unfinished. There will be bugs, missing information, and unimplemented features.

It's main purpose is to demonstrate what can be accomplished using the APIC API and D3.js

Usage

Clone the repo: git clone https://github.com/robertcorreiro/aci-model-viewer.git

Run the viewer locally using: python -m SimpleHTTPServer.

Then browse to localhost:8000.

Three examples are provided by default.

Building Data

The build_data.py creates the JSON file read by app.js. D3.js expects the json as objects containing children arrays to represent the hierarchy.

  1. Edit this file to provide credentials for your ACI fabric.
  2. Specify the root of your tree and the filename for the output file.
  3. The script will gather every object under the root.
  4. Move the file to the examples directory.
  5. Edit the index.html file to include an option to select your newly created file.

aci-model-viewer's People

Contributors

robertcorreiro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.