Git Product home page Git Product logo

Comments (5)

AshleyAitken avatar AshleyAitken commented on June 19, 2024 4

Perhaps the colour could relate to health of the container? Or containers from the same stack could have the same colour?

from docker-swarm-visualizer.

asloan7 avatar asloan7 commented on June 19, 2024 2

The random border colours help the eye differentiate containers from each other. Container health would hopefully be all green for all containers! The dot before the container name already shows green/red (ie. during startup).

Maybe better than random, the colour could be derived from a hash of the name or ID, so the colours are different but stay the same after visualizer restarts.

from docker-swarm-visualizer.

zhoulouzi avatar zhoulouzi commented on June 19, 2024

maybe a more detail README.md thanks.

from docker-swarm-visualizer.

fc1943s avatar fc1943s commented on June 19, 2024

Looking at the code, seems that it is a randomly generated color based on the service ID.

from docker-swarm-visualizer.

ManoMarks avatar ManoMarks commented on June 19, 2024

This is a sample app, not meant for production. If anyone wants to submit a PR we would review.

from docker-swarm-visualizer.

Related Issues (20)

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.