Comments (3)
I took a look at the graphviz documentation on this one. https://graphviz.gitlab.io/_pages/doc/info/attrs.html#k:escString
A string allowing escape sequences which are replaced according to the context. For node attributes, the substring "\N" is replaced by the name of the node, and the substring "\G" by the name of the graph. For graph or cluster attributes, the substring "\G" is replaced by the name of the graph or cluster. For edge attributes, the substring "\E" is replaced by the name of the edge, the substring "\G" is replaced by the name of the graph or cluster, and the substrings "\T" and "\H" by the names of the tail and head nodes, respectively. The name of an edge is the string formed from the name of the tail node, the appropriate edge operator ("--" or "->") and the name of the head node. In all cases, the substring "\L" is replaced by the object's label attribute.
In addition, if the associated attribute is label, headlabel or taillabel, the escape sequences "\n", "\l" and "\r" divide the label into lines, centered, left-justified, and right-justified, respectively.
Obviously, one can use "\\" to get a single backslash. A backslash appearing before any character not listed above is ignored.
from psgraph.
Because I am trying to keep as much of the graphviz functionality as possible available in GraphViz, I want to preserve the ability to use those special escape sequences in labels.
from psgraph.
Thank you for looking into this. I'll incorporate your research into my venture.
The structured data example in your blog article demonstrating use of PSGraph has the same issue which brought me here. The label field for C:\Workspace\PSGraph node is missing backslashes associated with the FullName of the folder. I did obvious things like replacing "\" with "\\" in a copy of the FullName for labeling but it did not help.
from psgraph.
Related Issues (20)
- Custom Label HTML
- rank Attributes (namely rankType)
- More examples in readme.md HOT 3
- Problem with chars HOT 2
- Building dependency diagrams
- Error with Installing GraphViz/PsGraph HOT 2
- [Question] Is there any way to set the graph background as transparent? HOT 1
- Node cmdlet conflicts with node.js command name HOT 4
- Export-PSGraph -showgraph and destination path problem HOT 1
- Subgraph cmdlet and the invisible node (A Harry Potter Movie) HOT 2
- Foreign letters gets converted to ? HOT 5
- Add which OS is supported in docs / readme.md
- Doesn't detect Graphviz on linux HOT 3
- Version miss match gallery / master branch? HOT 1
- Detect graphViz outside of -GraphVizPath HOT 2
- Parse Exception HOT 6
- Cylinder Shape HOT 1
- Resolve DestinationPath before passing it to GraphViz
- PSGraph in Azure Pipelines HOT 1
- Setting compound=false fails HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from psgraph.