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

Add unrestricted mode #289

Merged
merged 15 commits into from
Dec 15, 2023
Merged

Add unrestricted mode #289

merged 15 commits into from
Dec 15, 2023

Conversation

keyserj
Copy link
Collaborator

@keyserj keyserj commented Dec 15, 2023

Closes #197

Description of changes

  • see commit messages; includes some small fixes in addition to unrestricted mode

Additional context

starting with showImpliedEdges.
motivated by desire to add config for unrestricted diagramming mode.
generic edge type for use with unrestricted editing
should help with trying out new node/edge types, without needing to
modify schema until it's known to be useful.
allows adding node as parent or child of any other node.
future will probably allow something like editing edge labels, or adding custom nodes.
explore/claim nodes shouldn't need this kind of experimentation,
and this makes the add node button group less overwhelming with options
using a separate column rather than loosening the existing column
seems ideal because then we can still have strict typing in most places,
and the custom-ness is called out explicitly where it's needed.
only in unrestricted editing mode
performance was a bit slow with a lot of nodes and
unrestricted editing.
add node button group shouldn't need to re-render ever anyway
when refreshing playground or switching topics, it seems nice to
remember these settings
"island" meaning nodes that aren't connected by any path
Copy link

netlify bot commented Dec 15, 2023

Deploy Preview for velvety-vacherin-4193fb ready!

Name Link
🔨 Latest commit e281d71
🔍 Latest deploy log https://app.netlify.com/sites/velvety-vacherin-4193fb/deploys/657ca09a197689000839fc10
😎 Deploy Preview https://deploy-preview-289--velvety-vacherin-4193fb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 68
Accessibility: 84
Best Practices: 92
SEO: 85
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@keyserj keyserj merged commit 163a17c into main Dec 15, 2023
8 checks passed
@keyserj keyserj deleted the unlock-diagram branch December 15, 2023 19:10
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.

Uncategorized nodes and edges
1 participant