DEV Community

PixelCharmer
PixelCharmer

Posted on

React JS - trying to create a solid line with the node connectors

Where am I going wrong in my code. I am trying to rotate the nodes to a point where all the connectors line up without a break in the line. But I cant get the nodes to rotate 4 ways, they only rotate 2 ways. And I am not sure if the connector lines within the nodes are in the right spot to make them all connect without a break

my github repo

Here is my code repo - it has multiple components, store, and a css file.

The dependencies used are:

npm install classnames

npm install framer-motion

npm install zustand

npm install lucide-react

Top comments (0)

AI Agent image

How to Build an AI Agent with Semantic Kernel (and More!)

Join Developer Advocate Luce Carter for a hands-on tutorial on building an AI-powered dinner recommendation agent. Discover how to integrate Microsoft Semantic Kernel, MongoDB Atlas, C#, and OpenAI for ingredient checks and smart restaurant suggestions.

Watch the video πŸ“Ί

πŸ‘‹ Kindness is contagious

Explore a trove of insights in this engaging article, celebrated within our welcoming DEV Community. Developers from every background are invited to join and enhance our shared wisdom.

A genuine "thank you" can truly uplift someone’s day. Feel free to express your gratitude in the comments below!

On DEV, our collective exchange of knowledge lightens the road ahead and strengthens our community bonds. Found something valuable here? A small thank you to the author can make a big difference.

Okay