Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subgraph's border line is not drawn #59

Open
pstwo opened this issue Dec 27, 2017 · 0 comments
Open

subgraph's border line is not drawn #59

pstwo opened this issue Dec 27, 2017 · 0 comments

Comments

@pstwo
Copy link

pstwo commented Dec 27, 2017

I have some issue with subgraph. I have to use node attribute, like `node [shape=box]', to get the border of subgraph drawn.

The situation is worse with Chinese characters; the attribute does not help any more. But when remove one Chinese character from node name ``三四五'' the border shows again.

Below is a test tex file with three cases. I tried dot and it draw subgraph border in each case.

\documentclass{article}
\usepackage{ctex}
\usepackage{tikz}
\usetikzlibrary{arrows,shapes}
\usepackage{dot2texi}

\begin{document}
% G's subgraph border line is not drawn
\begin{dot2tex}
graph G {
	OneTwo -- ThreeFourFive
	subgraph cluster_T {
		Hello -- World
	}
}
\end{dot2tex}
% H's subgraph border line is not drawn
\begin{dot2tex}
graph H {
	node [shape=box]
	一二 -- 三四五
	subgraph cluster_T {
		你好 -- 世界
	}
}
\end{dot2tex}
% I's subgraph border line is drawn
\begin{dot2tex}
graph I {
	node [shape=box]
	一二 -- 三四
	subgraph cluster_T {
		你好 -- 世界
	}
}
\end{dot2tex}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant