From 7333b362e03f4e7f4861ad33e88303f1d57dcd5b Mon Sep 17 00:00:00 2001 From: Hanson Char Date: Thu, 20 Jun 2024 20:49:17 -0700 Subject: [PATCH] Fix missing preamble to PlanarLayout.lua --- .../pgf/graphdrawing/lua/pgf/gd/planar/PlanarLayout.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/PlanarLayout.lua b/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/PlanarLayout.lua index 9e5b8d72e..7be11345b 100644 --- a/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/PlanarLayout.lua +++ b/tex/generic/pgf/graphdrawing/lua/pgf/gd/planar/PlanarLayout.lua @@ -40,7 +40,8 @@ InterfaceToAlgorithms.declare { Finally the force based Planar Drawing Postprocessing improves the drawing. "]], examples = { - [[" + options = [[ preamble=\usetikzlibrary{graphs,graphdrawing} \usegdlibrary{trees} ]], + [[ \tikz \graph [nodes={draw, circle}] { a -- { b -- { @@ -59,8 +60,8 @@ InterfaceToAlgorithms.declare { f --[no span edge] g, c --[no span edge] d, e --[no span edge] c - } - "]] + }; + ]] } }