A sketch of functionality follows.
The Font command applies to the current selection(s) if any. Otherwise it sets the current working font for all subsequent operations that create text. When the font of one or more selections are changed, the working font remains UNchanged.
The Color command applies to selections and the current working color in the same way as the Font command. The following specific coloring contexts are displayed in the color-setting dialog:
node fill ... on if node selectedThe designation "on if X selected" means the color selection is enabled if one or more objects of type X is selected on the canvas. E.g., if a node is selected on the canvas, than the first three color choosers are enabled, the others are not. If items of more than one type are selected on the canvas, then a union of the color choosers is enabled. E.g., if a node an edge are both selected, than the first six color choosers are enabled. If no item is selected on the canvas, then all color choosers are enabled,
node border ... on if node selected
node label ... on if node label selected
edge line ... on if edge selected
edge arrow ... on if edge selected
edge label ... on if edge label selected
port fill ... on if port selected
port border ... on if port selected
The following are shape selections:
The last five Format menu items are show/hide toggles.
At one point, we had ungroup/regroup as formatting commands, with these specs:
I think I prefer the style that's now described in the nodes and edges sections where the ungrouping is automatic. A final decision on this awaits completion of the node and edge scenarios.Ungroup -- enabled when a grouped node or edge is selected Regroup -- enabled when one or more ungrouped components of a previously ungrouped node or edge is selected Dimensions ... -- diameter, margin