# Tag Info

## Hot answers tagged smartdiagram

19

With a small patch, it is possible to achieve: which is far from being perfect, but looks like the reference picture. The code: \documentclass[12pt]{article} \usepackage{smartdiagram} \usetikzlibrary{shapes.symbols} \tikzset{description title/.append style={ signal, signal to=south, signal from=north, yshift=-0.65cm, } } \begin{...

18

Or, without the smartdiagram package: \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes.symbols,positioning} \definecolor{myblue}{RGB}{79,129,189} \tikzset{ myshape/.style={ shape=signal, fill=myblue, minimum height=1.5cm, minimum width=1.5cm, text=white, signal pointer angle=130, signal to=east, signal from=west, rotate=-...

13

Since you speak from a hexagon I added a sixth element to the list. I’m using the connected constellation diagram diagram and change the styles for planets and satellites so that they use the regular polygon shape from the shapes.geometric library. The connection planet satellite style that is applied to the \path with the edge that connects the “...

12

A possible solution with tcolorbox. \documentclass{article} \usepackage{lmodern} \usepackage[most]{tcolorbox} \usepackage{fontawesome5} \newtcolorbox{mybox}[4][]{% enhanced, width=9cm, height=2cm, fontupper=\small\sffamily, fonttitle=\large\sffamily\bfseries\slshape, leftupper=1.5cm, colback=white, colframe=...

10

slightly modified answer of Ignasi: nodes are in chain, used is enumitem for lists in nodes ... \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{chains, positioning, shapes.symbols} \usepackage{enumitem} \usepackage{etoolbox} \AtBeginEnvironment{tikzpicture}{% \setlist[itemize]{topsep=0pt, parsep=0pt, leftmargin=2em} ...

9

The answer proposed by @Christian Hupfer works great but is limited to one color. In the source code of the smartdiagram package, the current color is referenced as \col. Hence, the following code allows the use the set color list parameter: \tikzset{module/.append style={top color=\col,bottom color=\col}} The resulting code creates a diagram without ...

9

As Torbjørn pointed, there is limited support for add items (modules in manual jargon) through the additions library and the \smartdiagramadd command. The main problem is that you can set only some global options for the added items. This mean that individually you can control only the relative positions with respect main items (not with respect ...

9

To avoid this problem you can play with the size of the planets and satellites via the planet text width and satellite text width options. By default they are set to 1.75cm and 1.5cm respectively and let them increase allows actually to set the text width of usual TikZ nodes. I would propose the following thus: \documentclass[12pt]{article} \usepackage{...

9

A short code with pstricks: \documentclass[pdf, svgnames]{article} \usepackage{pstricks-add} \usepackage{eqparbox} \begin{document} \begin{pspicture} \sffamily \psset{framearc=0.3,framesep=5pt} \begin{psmatrix}[colsep=-0.75, rowsep=0.25] \psDefBoxNodes{SA}{\psframebox{\eqparbox{FC}{Sample \\Acquisition}}}\\ & \psDefBoxNodes{SC}{\psframebox{\...

8

There are quite a few unwanted white spaces by line ends in both the MWE and package smartdiagram. Sometimes it helps, if the line ends are disabled, which can be achieved by \endlinechar=-1. However some packages break (e.g.,tikz), thus the example loads the package that are required by smartdiagram beforehand. Also some line ends in the MWE are commented ...

8

Something like this: MWE: \documentclass[border=3mm,tikz,preview]{standalone} \usetikzlibrary{arrows.meta,chains} \begin{document} \begin{tikzpicture}[ > = {Latex[]}, start chain = going right, node distance=7mm, block/.style={shape=rectangle, draw, inner sep=1mm, align=center, minimum height=...

8

If you don't mind using pure TikZ, you can start from: \documentclass[tikz,border=2mm]{standalone} \usetikzlibrary{positioning, shapes.symbols} \begin{document} \begin{tikzpicture}[ block/.style={signal, text width=3cm, font=\tiny, draw=#1, fill=#1!30, signal pointer angle=140}] \node[block=orange] (a) {\textbf{Experimentation}\\\textbf{...

8

Pure TikZ picture, simplified version of your image: \documentclass[12pt,a4paper]{memoir} \usepackage{tikz} \usetikzlibrary{arrows.meta, chains, positioning} \begin{document} \begin{tikzpicture}[ node distance = -1mm and -1mm, start chain = A going below right, arr/.style = {-{Triangle[length=4mm,width=6mm]}, ...

7

With a small hack into the package code, it is possible to get arrows with the right direction: \documentclass[border=10pt]{standalone} \usepackage{smartdiagram} \makeatletter \NewDocumentCommand{\smartdiagramx}{r[] m}{% \StrCut{#1}{:}\diagramtype\option \IfStrEq{\diagramtype}{flow diagram}{% true-flow diagram \begin{tikzpicture}[every node/...

7

For simple diagrams, smartdiagram allows you to just list the elements and type of diagram you want. For example: \documentclass{article} \usepackage{smartdiagram} \usesmartdiagramlibrary{additions} \begin{document} \smartdiagramset{back arrow disabled=true} \smartdiagramadd[flow diagram:horizontal]{% Thing 1, Thing 2, Thing 3, Thing 4, Thing 5 }{% ...

7

Changing arrow style from the default <- to -> ensures that the arrows go in the correct direction for the main nodes: For a uniform look to the arrows remove additional arrow tip=stealth, additional arrow line width=1pt, [I'm not sure if you want this or not.] To support the arrows going in the different directions for the additional modules, you ...

7

I think smartdiagram only makes sense if you stick to the implemented designs; smartdiagram doesn't seem to support arrow labels. I suggest to use "plain" tikz (which isn't so plain anyway), as it is more flexible. \documentclass[border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{shadows,positioning} \colorlet{colD}{red!40} \colorlet{colIP}{cyan!40} ...

7

Note that the coordinates in a tikzpicture is not relative to the page or text block, but only to the other things in the diagram. When you do \node at (-1,-1.3), the center of the node is placed at (-1,-1.3). If you don't supply the coordinate, it's placed at (0,0). So the first arrow node is placed with its center at x=0, and your bullet point node is ...

6

Since there doesn't seem to be a quick an easy answer, I have just gone back to TikZ and recreated the drawing there. I am so slow with TikZ still! \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{smartdiagram} \usepackage{tikz} \usetikzlibrary{arrows.meta, positioning} \begin{document} \begin{tikzpicture}[auto] \tikzset{ mynode/....

6

In general, I think smartdiagram is a very nice package and useful if you want a diagram which it is designed to produce. However, the ease of use has an obvious trade-off: it is inevitably less flexible than using TikZ directly. It is not like using a library, say, where you can integrate the additional functionality with regular TikZ code. However, it is ...

6

This is a starting point.... \documentclass[12pt]{article} \usepackage{mathtools} \usepackage{tikz-cd} \begin{document} \begin{tikzcd} A \arrow[r, "\beta"] \arrow["\alpha"', loop, distance=2em, in=305, out=235] \arrow[r, "\gamma", bend left=49] & B \arrow["\delta"', loop, distance=2em, in=305, out=235] \arrow[loop, distance=2em, in=305, out=235] \arrow[...

6

The smartdiagram package creates nodes named modulex, with x a number from 1 to n. You can remember these nodes by adding remember picture to the style of the diagram and referring to the nodes in a new tikzpicture with the overlay property. The exact positioning can be done using xshift and yshift in the new nodes. MWE: \documentclass{article} \usepackage{...

6

Possible Asymptote version: // // diag.asy // // run // asy diag.asy // // to get a standalone diag.pdf settings.tex="pdflatex"; unitsize(1pt); import fontsize;defaultpen(fontsize(7)); texpreamble("\usepackage{lmodern}"); string stop="set theory"; string[] sleft={ "general topology", "partial orderings&...

5

The documentation is misleading. The options listed are not all common to bubble and constellation diagrams. Rather, the ones with names like 'satellite...' only apply to constellations. This should probably be reported as a bug in the documentation. To set a text width for bubble diagrams, you can use tikzset to modify the bubble node and bubble center ...

5

Sure; the TikZ's style connection planet satellite can be changed. The complete code: \documentclass{article} \usepackage{smartdiagram} \begin{document} \smartdiagramset{ planet size=2cm, distance planet-text=0.1, distance planet-satellite=2.5cm, /tikz/connection planet satellite/.append style={<-} } \smartdiagram[constellation diagram]{ ...

Only top voted, non community-wiki answers of a minimum length are eligible