-
Notifications
You must be signed in to change notification settings - Fork 7
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
Intents docs #66
base: master
Are you sure you want to change the base?
Intents docs #66
Conversation
Codecov Report
@@ Coverage Diff @@
## master #66 +/- ##
==========================================
- Coverage 28.71% 28.69% -0.02%
==========================================
Files 79 79
Lines 7286 7356 +70
==========================================
+ Hits 2092 2111 +19
- Misses 5194 5245 +51
Continue to review full report at Codecov.
|
|
||
### The Lifecycle of an Intent | ||
|
||
A `GUIPlugin` that supports intents will contain a `CanvasManager`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might need to explain what a canvas manager is? depends on how detailed we want the documentation to be here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
separate document for more advanced components
A `GUIPlugin` that supports intents will contain a `CanvasManager`. | ||
Active intents will be rendered into a `Canvas` owned by the `CanvasManager`. | ||
When an `Intent` is activated, the manager may generate a new `Canvas` for its rendering. | ||
In cases such as co-plotting, a pre-existing `Canvas` may be used; that choice is based on the corresponding intents' `match_key` attributes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
provide example op of match_key
- ErrorBarIntent | ||
- BarIntent | ||
|
||
Although these types are primitive, additional specialized features can be added to them by specifying `mixin`'s. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is a mixin at a very high level? example of mixin
No description provided.