Coder Social home page Coder Social logo

Comments (2)

KristofferStrube avatar KristofferStrube commented on May 21, 2024 1

Hey @ABIOLI-COM awesome that you found the project useful once again. 😁

I've been thinking of releasing the project as a NuGet package and making all features configurable and togglable which I think is what you have tried to achieve by copying the SVG, Path, Shape, etc. classes.
This is a list of the things I would like to be configurable on the SVG component so that people don't need to modify (or copy) it. If you have any other things that you would like to be configurable or be able to toggle off then please note so. 😀

  • Disable/enable context menu
  • Disable/enable zoom
  • Disable/enable panning
  • Disable/enable deselecting elements
  • Disable/enable selecting elements
  • Disable/enable window marking of multiple shaped
  • Disable anchors and lines (basically meaning disabling shape edits)
  • Add/remove/reorder/replace all individual menu items.
  • Add/remove shape handlers
  • Add/remove animation handlers
  • Change primary and secondary colors for anchors, striped lines, scalar boxes, and the background.

All of the above would then be configurable but with the defaults that are the current ones. What do you think of this and are there any settings that you would be missing for your use case?

I'm updating the above checklist as I add support for configuring each part.

from blazor.svgeditor.

KristofferStrube avatar KristofferStrube commented on May 21, 2024

@ABIOLI-COM I have released the project to NuGet now with features that should make it more configurable so that you don't have to do source code copying. Here is a link to the NuGet package: https://www.nuget.org/packages/KristofferStrube.Blazor.SVGEditor

You can check out two examples of how to use this here:
https://kristofferstrube.github.io/Blazor.SVGEditor/Minimal/
https://kristofferstrube.github.io/Blazor.SVGEditor/CustomElements/

If you would like to test using it in one of your projects then I would be very happy to get any feedback you might have.

from blazor.svgeditor.

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.