Comments (1)
Hi Nathan,
thank you for your interest.
here is how you can change the colors used:
- copy
config.json
inton8gray.config
- inside
n8gray.config
find section "colors", there you will find colors used and their "translation" - let's say you want to change the background of the service block header - change
"enum.header": "paired9:3",
to
"service.header": "#ffffff",
(the result of your modifications needs to be a valid JSON file, ... kinda obvious =) - run
protodot
with you configuration, e.g.
protodot -config n8gray.config -src source.proto -output resulting.dot
-
when it comes to the names of the colors (used in the
config.json
), they are referring to names used in:
https://www.graphviz.org/doc/info/colors.html -
if you see something like "greys9:5" - it means color scheme "greys9" (see the link above) and color of index "5" in that scheme.
hope this helps
=)
from protodot.
Related Issues (13)
- Misleading error about includes HOT 2
- Default config should be search in protodot/config.json HOT 1
- Specify output directory from command line HOT 1
- Failed to load template file(s) HOT 1
- Feature Request: Exclude missing nodes
- consistent output HOT 1
- Website is down HOT 4
- Add comments from the .proto files to the output graph HOT 1
- Broken image links in README.md HOT 1
- Assert: *** Failed to process file json data, error: invalid character '}' looking for beginning of object key string HOT 2
- How to add a target path for output file? HOT 1
- Adding annotations to the dot/svg files HOT 1
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 protodot.