Code Monkey home page Code Monkey logo

Comments (6)

stefanloerwald avatar stefanloerwald commented on July 17, 2024

Hi @owenmorris,

thanks for your feedback. You're right that currently drawing custom links is not working. I'll add that to my backlog which I will start working on next week (as I'm still taking a few days off).

Thanks for your patience,
Stefan

from blazor.diagrams.

owenmorris avatar owenmorris commented on July 17, 2024

Hi Stefan, I made the changes in the attached pull request (#74) locally, which allowed me to carry on. Would appreciate any feedback when you get back from your break.

from blazor.diagrams.

stefanloerwald avatar stefanloerwald commented on July 17, 2024

Hi @owenmorris,

thanks for submitting the PR. Is this really the only change necessary? I'm a bit surprised :-D

Stefan

from blazor.diagrams.

owenmorris avatar owenmorris commented on July 17, 2024

Yes, I had to cargo-cult in the following snippet from one of the other components to get it to render, but that was all I needed for my fairly basic needs for this!

if (ControlPointMethods == null) { ControlPointMethods = new List<Func<(double X, double Y)>>(); }

Could that go into LinkBase too?

from blazor.diagrams.

stefanloerwald avatar stefanloerwald commented on July 17, 2024

That code couldn't be part of link base, as it is specific to the type of link. I'll think of the best way to make this work nicely. Let me just first merge the PR, so that you can continue working with the packaged version. More convenience to come soon...

from blazor.diagrams.

owenmorris avatar owenmorris commented on July 17, 2024

Looks good, thanks again!

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.