Guide Style, Demo mode, and Square mode
Style, Demo mode, and Square mode
Style one node or the whole model in the Format tab. In the top bar, Demo mode opens a separate board for showing someone how a graph database works, and Square mode turns every node into a card.
The Format tab
With nothing selected, the tab is titled Format all and sets the model style: the background color and the look of every visible node and relationship. Hidden ones keep their current look. With a selection, only the selected items change, and Reset to model style removes the styling you've given them. Labels are the exception: a label looks the same on every node that has it. Choose it from the Label dropdown, and its background and border change everywhere it appears.
- For relationships, you can set the line color and width, the arrow size, and the type's size and background, or make the line dashed.
- For nodes, Auto adjust is on by default: each node grows until its caption fits inside on two lines or fewer, and never shrinks below the default size. To pick a size yourself, drag the Radius slider. That clears the Auto adjust checkbox next to it.
Dragging a slider or the color picker is one undo step, however far you drag.
Reset to default style, the last button under Format all, returns the model style to toro4n's defaults and gives every visible node, relationship, note, and link the default look, all in one undo step. It's handy after an import.
Copy format
Like the look of one node? Select it and click Copy format at the top of the Format tab, then select other nodes and click Paste format to give them the same look. It works the same way for relationships, notes, and a note's link, always between items of the same kind. Copy format appears when the items you've selected are all of one kind and share the same look.
Theme
toro4n opens in light mode, even if your system is set to dark mode. Switch to dark mode with the theme button in the top bar, and toro4n stays dark the next time you open it in this browser. In dark mode, a white or default light gray canvas shows as a darker gray, and any other background color shows as it is. Only the display changes: the model, the Background color field, and exports keep the actual color.
Demo mode
Demo mode is for showing a newcomer how a graph database works. Turn it on in the top bar, and toro4n saves your model, sets it aside, and opens a separate board. Turn it off, and your model is back where you left it, even if it's saved online. The board holds data, not a data model, so several nodes can share a label, such as two Person nodes for Ann and Bob, and each label gets a distinct color.
You type straight onto the drawing: add a node, type its name inside the circle, and press Enter to give it a label. To change a name, a label, or a relationship type later, double-click it. The board leaves out properties, notes, layers, and the side panel, and nodes are always circles. Add node and Clear board sit in the top bar, and Undo brings a cleared board right back.
The demo board stays in this browser, even after a reload. It never appears in My models and is never saved online or shared. In Export, the full Cypher script creates the exact data on the board, such as CREATE (Ann:Person {name: "Ann"}) and CREATE (Ann)-[:KNOWS]->(Bob), and SVG and PNG show the board as drawn, label colors included. Save as file (or the toro4n JSON in Export) gives you a JSON file that opens as a new model.
Square mode
With Square mode on, every node is a card instead of a circle: a bold row of labels at the top, the caption in a band in the node's fill color, and the properties below it in Key, Type, and Example columns. Hide the Properties layer, and each card shrinks to its labels and caption. Settings that only circles use drop out of the Format tab: Radius, Auto adjust, the label background and border, and the node's property border. Square mode is saved with the model.