-
Notifications
You must be signed in to change notification settings - Fork 18
Automatic node layout on the Sociogram (v2) #1156
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
Conversation
|
|
I'm just now seeing this, but initial tests from my perspective look fantastic. Will update after testing more. |
|
I noticed a regression today. It seems like with the latest I cannot place nodes from the node bucket on a Sociogram with regular layout (not auto). If they already have a layout position, the nodes can be moved, but if they are in the node bucket, I cannot place them. |
|
Is the "pause" meant to be a temporary thing? If a user "pauses", but leave the stage and comes back, auto layout kicks in immediately again. Intentional? |
Yep this is intentional.
Oh dear. I must have broken this. I'll look at it again. Thanks! |
Second iteration on force directed layout (#1151).
Implementation
requestAnimationFrame, to update the documentssrc/components/RealtimeCanvas/for use with this feature. Original Canvas components have been left intact for use on the Narrative Interface.Additonal notes
Will require similar updates to edge layout and potentially narrative group rendering. This may result in a peformance increase.A newly createdRealtimeCanvas/EdgeLayoutcomponent has been created, which is compatible with the new simulation feature. Narrative interface uses the oldCanvas/components.Improvements
Testing
To test you will need an updated version of the development protocol, available here: complexdatacollective/development-protocol#18