SankeyMATIC Manual
Topic Index
Syntax Reference
Term Definitions
Terms | Examples |
---|---|
|
|
|
|
|
|
|
|
SankeyMATIC Input Line Types
Comments: // any content
- Annotate your source data by starting a line with two slashes.
- Comment lines are skipped and do not affect the diagram.
- (Comments are also useful if you want to temporarily hide or disable a source line without deleting it.)
Example: // Source URL for this data: http://example.com/
Blanks:
- Blank lines are ignored. You can use them to separate sections of your source data, to make it easier to read.
Flows:
In each Flow line, Amount flows from the SourceNodeName to the TargetNodeName.
SourceNodeName [Amount] TargetNodeName
= A basic Flow, using the default Flow Color & Opacity
SourceNodeName [Amount] TargetNodeName #Color
= A Flow with a custom Color, using the default Flow Opacity
SourceNodeName [Amount] TargetNodeName #Color.Opacity
= A Flow with a custom Color & Opacity
Examples:
Prior Cash On Hand [72954.53] Total Funds
- This line means that 72,954.53 is flowing FROM “Prior Cash On Hand” TO “Total Funds”.
- The default Flow Color and default Flow Opacity will be used.
Deficit Borrowing [366.6] 1993 Budget #990000
- Indicates that 366.6 is flowing FROM “Borrowing to cover deficit” TO “1993 Budget”
- The Flow is colored dark red (#990000)
- Uses the default Flow Opacity
Electricity grid [7.863] Rail transport #F90.7
- Shows 7.863 flowing FROM “Electricity grid” TO “Rail transport”
- The Flow is colored orange (#F90)
- The Flow’s Opacity is 0.7 (near-solid).
Nodes:
Node lines are optional. At this time they are only used to declare a custom color for a Node and (optionally) to paint the flows in or out of the Node with that color.
|
Sets a custom Color for NodeName |
|
Paints all Flows FROM this Node with the same color |
|
Paints all Flows TO this Node with the same color |
| Paints all Flows TO and FROM this Node with the same color |
Examples:
:Surplus Energy #090
- The Node named “Surplus Energy” will be colored bright green (#090).
:Surplus Energy #090 >>
- Any Flows FROM “Surplus Energy” will also be colored bright green, using the default Flow Opacity.
« Back: Exporting, Publishing, Sharing
Next: Imbalances »