Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001850graphvizOtherpublic2010-04-05 10:002011-04-28 04:03
ReporterDaniel Werner 
Assigned Togviz 
StatusacknowledgedResolutionno change required 
PlatformOS*-*-OS Version
Summary0001850: Classes for more layout less code

Would be great do be able to define some css like class system inside a graph.
This would allow to spare a lot of code on each node or edge or whatever.
You would simply write

nodename [class="myClassName"]

and whatever is defined for myClassName would be assigned. Everything defined else for this node would overwrite the class properties, it should be possible to assign more than one class as well.

I didn't thought about a syntax for defining the classes yet but it should be done inside a graph so the classes aren't some global thing, they are definable for one graph and its sub graphs.

Additional Information

It doesn't give you all that you might want, but subgraphs can be used to go a long way. For example, you could have
digraph G {
  node [color=blue]
     node [color=green, shape=box]
          node [shape=triangle]
  a -> b
  b -> c
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user1

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker