Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve extensibility of the DiagramWidget #83

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pbrown12303
Copy link
Contributor

These changes improve the extensibility of the DiagramWidget. Changes include:

  • The ability to add a background canvas object to a diagram
  • The ability to add user-defined connection pads to diagram elements
  • Addition of AnchoredText callbacks to facilitate coordinating changes to the anchored text

Added background graphic capability and an example of extending a DiagramNode so that vertical movement and resizing are disallowed.
Added DiagramWidget override callbacks for the drawing area Dragged() and DragEnd() functions. Added DiagramElement.SetConnectionPad() function so that custom pads can be added to a DiagramElement. Added example custom pads to the demo.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 7492839566

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.9%) to 46.941%

Totals Coverage Status
Change from base Build 7373224328: -0.9%
Covered Lines: 1895
Relevant Lines: 4037

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants