Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

275
Views
mxGraph / draw.io : change edge color when it connected to shape

I'm starting to work on integrating the draw.io editor into my project https://github.com/jgraph/drawio/tree/dev/src/main/webapp

my objective is to change the edge (arrow) color when is connected to a shape (both side)

so i cherched in https://github.com/jgraph/drawio/blob/dev/src/main/webapp/js/grapheditor/Graph.js for the method responsable for the connection using console.log without success

Any idea how to detect edges connection to anchor points of vertices?

i cherched for graph.connectCell but i didn't find it in the code all i found is dropAndConnect used in itemClicked in

Sidbar.js https://github.com/jgraph/drawio/blob/dev/src/main/webapp/js/grapheditor/Sidebar.js#L3485

thanks

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!