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

ReductionLinkRule adds links back that have already been hidden #15

Open
timdine opened this issue Jul 29, 2019 · 0 comments
Open

ReductionLinkRule adds links back that have already been hidden #15

timdine opened this issue Jul 29, 2019 · 0 comments

Comments

@timdine
Copy link

timdine commented Jul 29, 2019

The Reduction Link Rule is a great sample that I've used to remove loops (two parallel lines with the same start and end nodes). It worked perfectly except that when I ran it late in my stack of rules added many lines back into the diagram that had been hidden by previous rules. By removing the line:
"schemElement.Displayed = true;"
at approximately line 225 the rule behaved as I would have expected and honored any previously removed lines. The features should only be hidden by the rule, not added back into the diagram. It is just a sample, but that change makes it more useful for me.

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

No branches or pull requests

1 participant