-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #499 from Lexpedite/arity_3plus
Arity 3plus
- Loading branch information
Showing
21 changed files
with
6,037 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
blawx/fixtures/docs/blocks/categories/new_relationship.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
- model: blawx.docpage | ||
pk: blocks/new_relationship | ||
fields: | ||
title: New Relationship Block | ||
content: | | ||
# New Relationship Block | ||
 | ||
## Where Is It? | ||
The new relationship block is found in the Categories drawer of the Blawx toolbox. | ||
## What Does It Do? | ||
The new relationship block is used to create a new relationship between 3 or more objects and values. | ||
## Technical Details | ||
The new relationship block is a statement, and can be stacked with other statements. | ||
The new relationship block accepts the name of the relationship. To be valid, the name of the relationship must begin with a lower-case letter and not | ||
include any spaces. | ||
It also accepts the number of objects and values that will be related to one another in this relationship, which | ||
is a number between 3 and 10. | ||
For each object or value, it accepts a type, which is selected from a dropdown that shows the available data types and the known categories. | ||
Before, between, and after each object or value, it accepts the text that should be used to generate the relationship selector blocks, and used in | ||
explanations. | ||
## Tips | ||
Names of relationships should be unique, but can safely overlap with other relationship that have a different number of objects and values. |
26 changes: 26 additions & 0 deletions
26
blawx/fixtures/docs/blocks/categories/relationship_selector.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
- model: blawx.docpage | ||
pk: blocks/relationship_selector | ||
fields: | ||
title: Relationship Selector Block | ||
content: | | ||
# Relationship Selector Block | ||
 | ||
## Where Is It? | ||
The relationship selector block is located in the Known Relationships drawer of the Blawx toolbox. | ||
## What Does It Do? | ||
The relationship selector block is used to set or test a value for a relationship between 3 or more objects and values. | ||
## Technical Details | ||
The relationship selector block's appearance is determined by the new relationship block that defines it. | ||
It has between 3 and 10 internal connectors for objects and values. If a connector is for a data type, it will only | ||
accept values of that type and variables. If a connector is for a category, it will accept objects and variables. | ||
## Tips | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.