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 
PrioritynormalSeverityminorReproducibilityalways
StatusacknowledgedResolutionno change required 
PlatformOS*-*-OS Version
Summary0001850: Classes for more layout less code
Description



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

[erg]
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
<CD>
digraph G {
  node [color=blue]
  {
     node [color=green, shape=box]
     {
          node [shape=triangle]
          c
      }
       b
  }
  a -> b
  b -> c
}
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1916
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTRequest
VERSION     
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