Skip to content

Commit

Permalink
adding more tables part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
vsun757 committed Jul 11, 2023
1 parent b42811f commit 0fbc19f
Showing 1 changed file with 87 additions and 9 deletions.
96 changes: 87 additions & 9 deletions docs/navlayers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -314,15 +314,56 @@ the currently loaded configuration can be interacted with at `ToSvg().config`.
The configuration can also be populated from a json file using the `.load_from_file(filename="path/to/file.json")` method,
or stored to one using the `.save_to_file(filename="path/to/file.json)` method.

| attribute| description | type | default value |
|:-------|:------------|:------------|:------------|
| width | Desired SVG width | number | 8.5 |
| height | Desired SVG height | number | 11 |
| headerHeight | Desired Header Block height | number | 1 |
| unit | SVG measurement units (qualifies width, height, etc.) - "in", "cm", "px", "em", or "pt"| string | "in" |
| showSubtechniques | Display form for subtechniques - "all", "expanded" (decided by layer), or "none" | string | "expanded" |
| font | What font style to use - "serif", "sans-serif", or "monospace" | string | "sans-serif" |
| tableBorderColor | Hex color to use for the technique borders | string | "#6B7279" |
* - attribute
- description
- type
- default value
* - width
- Desired SVG width
- number
- 8.5
* - height
- Desired SVG height
- number
- 11
* - headerHeight
- Desired Header Block height
- number
- 1
* - unit
- SVG measurement units (qualifies width, height, etc.) - "in", "cm", "px", "em", or "pt"
- string
- "in"
* - showSubtechniques
- Display form for subtechniques - "all", "expanded" (decided by layer), or "none"
- string
- "expanded"
* - font
- What font style to use - "serif", "sans-serif", or "monospace"
- string
- "sans-serif"
* - tableBorderColor
- Hex color to use for the technique borders
- string
- "#6B7279"
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-


| showHeader | Whether or not to show Header Blocks | bool | True |
| legendDocked | Whether or not the legend should be docked | bool | True |
| legendX | Where to place the legend on the x axis if not docked | number | 0 |
Expand All @@ -335,6 +376,43 @@ or stored to one using the `.save_to_file(filename="path/to/file.json)` method.
| showAbout | Whether or not to show the About Header Block | bool | True |
| border | What default border width to use | number | 0.104 |
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-
* -
-
-
-

**.to_svg() Method
.. code-block:: python
Expand Down

0 comments on commit 0fbc19f

Please sign in to comment.