DEV Community

Cover image for Light & Dark Mode for diagrams (flowchart)
Arthur Khokhlov
Arthur Khokhlov

Posted on • Originally published at jointjs.com

Light & Dark Mode for diagrams (flowchart)

How to completely style a diagram in CSS? How to toggle the diagram's light and dark mode? How to design elements and links with bevelled edges? How to keep the link anchor on the element boundary? How to write your own orthogonal router? Check out this CodePen that gives you all the answers.

This demo was built with JointJS, a proven JavaScript diagramming library. If you are interested in enhancing your application with interactive diagrams, explore our gallery of pre-built diagraming applications and cut your development time to days: https://www.jointjs.com/demos

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay