@@ -365,7 +365,8 @@ underlying data.
365365 if it's closed.
3663662 . Select the ** Nodes (#)** tab and click one of the node collections.
367367 You can filter by name if there are many.
368- 3 . You have the following theming options for nodes:
368+ 3 . To change the appearance of all nodes from the selected collection, use the
369+ following theming options while on the ** Settings** tab:
369370 - ** Color** : Select a fill color for the circles that depict nodes.
370371 This lets you distinguish between different types of nodes at a glance.
371372 - ** Icon** : Select a pictogram to be drawn inside the circles that resembles
@@ -376,6 +377,17 @@ underlying data.
376377 over a node (** Hover info** ). These options let you view a part of the
377378 node properties more quickly without opening the full
378379 [ properties dialog] ( #view-node-and-edge-properties ) .
380+ 4 . To change the appearance based on conditions, go to the ** Attribute-based**
381+ tab. It lets you define rules for styling nodes based on the values of the
382+ document attributes. The theming options are the same as above.
383+ 5 . Click ** New rule** , select a document attribute and a comparison operator
384+ (like equals, not equals, in, not in, etc.), and enter a value to match.
385+ For example, select ` genre ` as the attribute, ` = ` as the operator, and enter
386+ ` comedy ` as the value to match.
387+ 6 . Enable the toggle for the theming option you want to use (e.g. ** Apply color** )
388+ and adjust the styling as desired. If there are any matching nodes on the
389+ canvas, their appearance updates accordingly. Note that the first rule wins
390+ if the conditions of multiple rules match the same nodes.
379391
380392![ A screenshot of the Legend panel and a node styling dialog] ( ../images/graph-visualizer-customization.png )
381393
@@ -385,7 +397,8 @@ underlying data.
385397 if it's closed.
3863982 . Select the ** Edges (#)** tab and click one of the edge collections.
387399 You can filter by name if there are many.
388- 3 . You have the following theming options for edges:
400+ 3 . To change the appearance of all edges from the selected collection, use the
401+ following theming options while on the ** Settings** tab:
389402 - ** Color** : Select a stroke color for the lines that depict edges.
390403 This lets you distinguish between different types of edges at a glance.
391404 - ** Line Style** : Adjust the stroke ** Thickness** and the arrowheads of lines
@@ -396,6 +409,18 @@ underlying data.
396409 edge, and what information to show in the tooltip when hovering an edge
397410 (** Hover info** ). These options let you view a part of the edge properties
398411 more quickly without opening the full [ properties dialog] ( #view-node-and-edge-properties ) .
412+ 4 . To change the appearance based on conditions, go to the ** Attribute-based**
413+ tab. It lets you define rules for styling edges based on the values of the
414+ document attributes. The theming options are the same as above.
415+ 5 . Click ** New rule** , select a document attribute and a comparison operator
416+ (like equals, not equals, in, not in, etc.), and enter a value to match.
417+ For example, select ` type ` as the attribute, ` in ` as the operator, and enter
418+ ` Role,Roles ` as the value to match (meaning the ` type ` must be either ` Role `
419+ or ` Roles ` ).
420+ 6 . Enable the toggle for the theming option you want to use (e.g. ** Apply thickness** )
421+ and adjust the styling as desired. If there are any matching edges on the
422+ canvas, their appearance updates accordingly. Note that the first rule wins
423+ if the conditions of multiple rules match the same edges.
399424
400425### Save and manage themes
401426
0 commit comments