我想放大用命令制作的图表,因为当前比例下的箭头对我来说太短了。但是,我尝试过的选项似乎没有效果。我尝试过、、、、,可能\graph
还有scale
其他。我正在使用LuaTeX进行编译。我感觉我错过了一些简单的东西。我只想放大它,类似于该选项对其他 tikz 图片所做的操作。sibling distance
node distance
node sep
level distance
scale
\documentclass[12pt]{amsart}
\usepackage{tikz}
\usetikzlibrary{arrows,trees,graphs}
\usetikzlibrary{graphdrawing}
\usegdlibrary{trees,force}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\[
\begin{tikzpicture}
\graph[clockwise=7,math nodes, edges = {double equal sign distance, -implies}] { "p_1", "p_2", "p_3", "p_4", "p_5", "p_6", "p_7"; "p_1" -> "p_2" -> "p_3" -> "p_4" -> "p_5" -> "p_6" -> "p_7" -> "p_1" };
\end{tikzpicture}
\]
\end{document}
这是当前输出:
谢谢你!
答案1
将选项传递radius=<value>
给\graph
命令。
\documentclass[12pt]{amsart}
\usepackage{tikz}
\usetikzlibrary{arrows,trees,graphs}
\usetikzlibrary{graphdrawing}
\usegdlibrary{trees,force}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
\begin{tikzpicture}
\graph[clockwise=7,radius=3cm,math nodes, edges = {double equal sign distance, -implies}] { "p_1", "p_2", "p_3", "p_4", "p_5", "p_6", "p_7"; "p_1" -> "p_2" -> "p_3" -> "p_4" -> "p_5" -> "p_6" -> "p_7" -> "p_1" };
\end{tikzpicture}
\end{document}