Hello! I am trying to set the outer color and fill color of a vertex separately - for example, setting the outline to light grey and the fill color to light blue to de-emphasize some vertices in an illustration.
The color Vertex attribute controls the fill color, but not the outline color, which remains black. Instead, it looks like I need to set the tikz style, like:
\Vertex[style={color=black!20,fill=blue!20}]{A}
This works for an individual vertex, but I cannot figure out how to add the same rules to a CSV. I've tried a few variations on:
id, x, y, label, style
v0, 0.238, 3.926, v0, black!20,fill=blue!20
Presumably this doesn't work because we can't have a comma in the CSV value. Escaping the comma, either with backslashes, {black!20,fill=blue!20}, or "{black!20,fill=blue!20}", has not worked. Breaking the single style field into two style fields hasn't worked, either. I've tried using space-separated .dat files instead of CSV, but have been unable to get \Vertices to read them.
Is there a way to accomplish what I'm trying to do? Or, ideally, would it be possible to add some kind of outlineColor attribute to tikz-network vertices to make this process much simpler? Thanks!
Hello! I am trying to set the outer color and fill color of a vertex separately - for example, setting the outline to light grey and the fill color to light blue to de-emphasize some vertices in an illustration.
The
colorVertex attribute controls the fill color, but not the outline color, which remains black. Instead, it looks like I need to set the tikz style, like:This works for an individual vertex, but I cannot figure out how to add the same rules to a CSV. I've tried a few variations on:
Presumably this doesn't work because we can't have a comma in the CSV value. Escaping the comma, either with backslashes,
{black!20,fill=blue!20}, or"{black!20,fill=blue!20}", has not worked. Breaking the singlestylefield into two style fields hasn't worked, either. I've tried using space-separated .dat files instead of CSV, but have been unable to get\Verticesto read them.Is there a way to accomplish what I'm trying to do? Or, ideally, would it be possible to add some kind of
outlineColorattribute to tikz-network vertices to make this process much simpler? Thanks!