-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
57 additions
and
356 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// draw a row of emojis with various faces | ||
let tags = ['grinning', 'neutral_face', 'confused', 'scream', 'joy', 'heart_eyes']; | ||
let row = HStack(tags.map(Emoji), {spacing: 0.1}); | ||
return Frame(row, {padding: 0.1}); |
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
// textframe | ||
return TextFrame('hello', {padding: 0.1, margin: 0.1}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,8 +18,7 @@ | |
"Circle", | ||
"Line", | ||
"UnitLine", | ||
"Polyline", | ||
"Path" | ||
"Polyline" | ||
], | ||
"symbolic": [ | ||
"SymPoints", | ||
|
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,9 @@ | ||
# Emoji | ||
|
||
<span class="inherit">[Text](#Text) > [Element](#Element)</span> | ||
|
||
Creates a new `Emoji` element. This is a specialized version of `Text` that accepts the name of an emoji as a tag. You can find a list of the Github emoji names [here](https://github.com/ikatyang/emoji-cheat-sheet). If the emoji is not found, it will display the text `":tag:"` in red. | ||
|
||
Arguments: | ||
|
||
- `tag`: the name of the emoji |
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,3 @@ | ||
# Networks | ||
|
||
Network diagrams can be created using the `Node` and `Edge` classes. There is no overarching `Network` class. One will usually wrap elements in a `Group` or `Graph` object to create a final product. |
This file was deleted.
Oops, something went wrong.
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,14 @@ | ||
# TextFrame | ||
|
||
<span class="inherit">[Frame](#Frame) > [Element](#Element)</span> | ||
|
||
Creates a new `TextFrame` element. This is a specialized version of `Text` that adds a border and background to the text. | ||
|
||
Arguments: | ||
|
||
- `text`: the text to display | ||
|
||
Keyword arguments: | ||
|
||
- `latex`: whether to render LaTeX | ||
- `emoji`: whether to render emoji |
Oops, something went wrong.