Git Product home page Git Product logo

Comments (10)

davidjgraph avatar davidjgraph commented on August 26, 2024 3

Closing for lack of interest.

from drawio.

damianh avatar damianh commented on August 26, 2024 2

Just to say, named style would have the added benefit that if you changed the style after, it would re-apply it to the affected edges etc

from drawio.

russkel avatar russkel commented on August 26, 2024 1

Apologies, this PR had slipped under my radar. I believe it was the draw.io app it should be added to. It was one of a few quality of life improvements I had thought about while using draw.io for a lot of university work. IIRC I didn't post the rest because of the lack of receptivity to such improvements.

from drawio.

alderg avatar alderg commented on August 26, 2024

Is this for developers running their own instance of draw.io or for users of the draw.io app?

from drawio.

pensono avatar pensono commented on August 26, 2024

I don't know what russkel's answer would be, but as I user I would find this extremely useful.

from drawio.

alderg avatar alderg commented on August 26, 2024

Developers: Add styles in https://github.com/jgraph/draw.io/blob/master/war/styles/default.xml
Users: The best solution is probably copy/paste style (Ctrl+Shift+C/V)

from drawio.

damianh avatar damianh commented on August 26, 2024

Just popped in to report this same feature request.

A use case..

In my diagram I have the following legend:

image

I would actually like to save the line style as named in the legend with a single-click application of that style to a selected line. This UI ...

image

... requires too many mouse clicks.

Any chance of re-opening this?

Cheers

from drawio.

alderg avatar alderg commented on August 26, 2024

You could use the scratchpad by adding the edge, then select the edge to be styled and shift+click the edge in the scratchpad: https://gyazo.com/295a040c2f51a6cb1b12fe211ce2759b

from drawio.

damianh avatar damianh commented on August 26, 2024

@alderg Interesting, didn't know that. Will give that a try. Cheers

from drawio.

stale avatar stale commented on August 26, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from drawio.

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.