Giter Club home page Giter Club logo

container-puppet-catalog-graph-viewer's Introduction

puppet-catalog-graph-viewer

General

basicly a copy of https://gist.github.com/Sharpie/784266373d3f3232054a bundled into a container.

Build

docker build -t puppet-catalog-graph-viewer .

Run

# run with demo data
docker run -it --rm -p 8080:80 puppet-catalog-graph-viewer
# or mount path with dot files
# file has to be named `catalog.json`
docker run -it --rm -p 8080:80 -v $(pwd):/usr/share/nginx/html/data puppet-catalog-graph-viewer

container-puppet-catalog-graph-viewer's People

Contributors

rwaffen avatar bastelfreak avatar

Watchers

 avatar Martin Alfke avatar

container-puppet-catalog-graph-viewer's Issues

feature: add upload

i want to be able to upload a different catalog while the container is running

bug: make it work with current catalogs

does not work with current catalogs from puppet7.

hierarchy_graph.js:68 Uncaught TypeError: Cannot read properties of undefined (reading 'edges')
    at hierarchy_graph.js:68:18
    at Object.<anonymous> (d3.v3.min.js:1:11277)
    at Object.t (d3.v3.min.js:1:1565)
    at XMLHttpRequest.i (d3.v3.min.js:1:10137)

used catalog:
catalog.json

info: inspirational links from slack

@Sharpie wrote in the slack:

https://observablehq.com/@d3/gallery is also a good source of inspiration.

In particular, this looks like it could be a good solution for the "multiple inheritance" problem that the contain() function can create: https://observablehq.com/@nitaku/tangled-tree-visualization-ii

The TensorBoard graph is also worth looking into, as it has to deal with the high complexity of machine learning models --- which is a problem that pops up with large puppet catalogs:
http://idl.cs.washington.edu/files/2018-TensorFlowGraph-VAST.pdf

The PE Node Graph was built from scratch by one of the engineering teams and did not use the above prototype, but it did build on top of this open source library:
https://github.com/dagrejs/dagre-d3

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.