Coder Social home page Coder Social logo

orgchart's People

Contributors

roman-polunin-medamerica avatar romanpolunin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

orgchart's Issues

(Support request) Canvas position warped & additional backgrounds&borders on connectors

Hi,

first off, thank you so very much for your library, it is a lifesaver. You've done great work I could never come up with!

I have the following two issues using the library with C# WPF.

  1. When placing your example code in a WPF Canvas element with a Gray background, the element itself seems to be pushed off to the side, rather than covering the diagram. This seems to have to do with the RenderTransforms being applied to shift everything into place. Would you know how to adjust your example code so this does not happen, and the diagram is correctly enframed in the dimensions of the Canvas?

image

image

  1. When rendering boxRectangle and boxFrameRectangle in your example code, their styling seems to apply to the connector brushes that connect the boxes together. This leads to a segmented appearance. To my understanding, the box and frame rectangles should not be affecting the lines drawn for the connectors. How could I fix that?

image

Thanks again!

Horizontal branch positions are wrong for specific box heights

When I set the height of all boxes at 0.7, the CenterH of the BranchExterior elements is correct (they range from -0.625 to 0.625)

With different box height values (ranging from 0.67 to 0.69), the CenterH values are wrong (they have a much greater spread, ranging from -12.5 to 12.5)

When it works correctly, this breakpoint is hit once, offense is set to 1.25, i and k get incremented, then ComputeOverlap returns 1.25 because k = other.Left.Count = 1
offense correct

But when it does not work correctly, this breakpoint is hit twice. After the first time the breakpoint is hit, k does not get updated because my.Bottom = 1.84 and th.Bottom = 1.86. The second time the breakpoint is hit, my.X = 25, diff = 25, and offense gets set to 25.
offense incorrect

I'd really appreciate it if you could fix this or point me in the right direction.
Thank you for developing and sharing this tool

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.