Code Monkey home page Code Monkey logo

Comments (6)

stefanloerwald avatar stefanloerwald commented on July 17, 2024

Hi @nguyenvanbien95,

when you click on an angled link, it becomes editable. You can then click&drag the middle control point and move it around as you please.

Does that solve your issue?

BR
Stefan

from blazor.diagrams.

nguyenvanbien95 avatar nguyenvanbien95 commented on July 17, 2024

Hi @stefanloerwald,
It is require user action. In my case, all nodes and links are auto generated. So I can not control link render.

from blazor.diagrams.

stefanloerwald avatar stefanloerwald commented on July 17, 2024

In that case, unfortunately, this cannot be done, as the control points of links cannot be modified programatically.

from blazor.diagrams.

nguyenvanbien95 avatar nguyenvanbien95 commented on July 17, 2024

I saw source code and find something. Middle point and direction of link can be modified by pass as Parameter.

from blazor.diagrams.

stefanloerwald avatar stefanloerwald commented on July 17, 2024

As I've said, the control points are not exposed publically, so there's no supported way of modifying them. See https://github.com/excubo-ag/Blazor.Diagrams/blob/main/Diagram/LinkBase.cs#L127

You are of course free to use reflection to change values, as always in C#.

from blazor.diagrams.

nguyenvanbien95 avatar nguyenvanbien95 commented on July 17, 2024

Oke, thanks for your support!

from blazor.diagrams.

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.