Skip to content

SQL Extensions

SQL extensions provide small, declarative utilities that simplify common graph‑building tasks in the Relationship Visualizer.

Each extension is activated by passing specific values as SQL parameters, enabling expressive diagrams with minimal query logic.

Extension Index

ExtensionDescription
DirectivesLightweight commands enabling optional behaviors within the SQL pipeline.
ClusteringGroup related rows into clusters or subclusters to visually organize sections of your graph.
Count SubstitutionAutomatically substitute cluster, subcluster, and row counts into labels and sortv attributes. Useful for sorting data.
Splitting LabelsSplit long text labels into multiple lines for improved readability.
Chaining NodesGenerate edges between sequential nodes, creating simple chains. Useful for timelines, or ordered flows.
Creating SubgraphsWrap selected nodes into ranked subgraphs to control layout, alignment, and visual grouping.
Tree TraversalUse recursive SQL to walk hierarchical data and produce parent‑child structures such as organization charts.
IterationIterate over SQL query results to execute a follow-up query using the initial results.
EnumerationAssign incremental numbers to rows for ordering, labeling, or sequence‑based logic.
ConcatenationWorks in conjunction with iteration to build labels by concatenating multiple fields or computed values of a query.

Released under the MIT License.